• Home
  • Services
  • Blog
  • About Us
Contact us

Home

/

Blog

  • SAP CPI – External Logging (To Splunk)- Under the Hood

    Introduction We had a look at SAP CPI ‘s External Logging to Splunk in this post : SAP CPI – External Logging to Splunk and Current Limitations. What happens under the hood? Lets take a look. SAP’s External Logging to Splunk feature on CPI is a new feature where we have seen that Message Processing […]

    By

    Bhavesh Kantilal

    •

    Jul 11

Can’t find something?

Recent Articles

  • SAP Integration Suite – HTTP Adapter – Non Chunked Transfer Handling – The trivia with Content Length Header

    January 22, 2025
  • SAP Integration Suite –API Management- Set up Cloud Transport Management Service for your APIs

    July 23, 2024
  • SAP Cloud Integration / CPI – AES Encryption of Payload ( Symmetric Encryption)

    April 15, 2024

Categories

  • Architecture (1)
  • BTP (1)
  • CloudALM (1)
  • CloudTransportManagement (3)
  • CPI (36)
  • DocumentManagementService (2)
  • Graph (3)
  • S/4Hana Cloud (4)
  • SAP (1)

Tags

A2AMonitoring ActivityParameters AlertNotificationService APIm APIManagement B2B B2BMonitoring BTP CloudFoundry CloudTransportManagement CPI CustomEntities DMS DownPayment EDI EDIBundling GetHeader GetProperty Graph GraphQL Groovy Integration IntegrationSuite JournalEntry JournalEntryAPI Journal Entry Change MessageMapping Migration Mirrored Entities Monitoring NamingConvention ODATA OrgManager PayloadLogging S/4HanaCloud S/4Hana Cloud SAPPO SpaceDeveloper SpaceManager Spaces SubAccount TradingPartnerManagement Transport UnifiedEntities XSLT

© 2024. All rights reserved.

Table of Contents

×
  • Introduction
  • Initial Idea
  • Learning#1 – Change in Destination Name or Values need reactivation of External Logging
    • Deactivate External Logging – Successful
    • Activate External Logging Again with Destination Containing CPI HTTP EndPoint – Fails
  • Learning#2 – CPI when trying to log to Splunk or a External Logging System – adds a end point : /services/collector/event
  • Use requestcatcher to catch the HTTP Request
  • Learning#3 – Any Custom Listener should listen on services /collector/event
  • Learning#4 – The Endpoint cannot have any extra parts other than hostname.
  • SAP APIM to the rescue
  • Raw Event JSON Generated by CPI
    • JSON String is Escaped
    • Escaped JSON
  • Understanding the Raw JSON Event generated by CPI
  • Final Thoughts
→ Table of Contents