In this Lesson, the Following Topics are Discussed:
- Types of Monitoring.
- Build-In Monitor for Message Monitoring.
- System Log Files.
- SAP Cloud Integration API for Message Processing Logs.
- External Logging.
Types of Monitoring
In addition to the standard built-in monitor, various tools can be used with Cloud Integration Monitoring. It offers different categories including message monitoring, content management, and alert management. For the purpose of this discussion, we will focus on message monitoring using the built-in monitor for messages and the SAP Cloud Integration API for Message Processing Logs API.
There is a helpful overview section that highlights the strengths of each tool.
- SAP Cloud ALM
- SAP Solution Manager
- SAP Focused Run SAP Analytics Cloud
- SAP Application Interface Framework
- Cloud Integration OData APIs
Build-In Monitor for Message Monitoring
The lesson utilizes the PI_Integration_Developer Role collection, while the exercises use the PI_Administrator Role Collection, which my lead to differences in the presentation. Upon logging in through the monitor menu, you will be presented with the following desktop, where any view can be individually configured by clicking on the plus sign.
No. 1: Monitor Message Processing, No. 2: Manage Integration Content, No. 3: Manage Security - Admin Place, No. 4: Manage Stores, No. 5: Access Log.
Here we are only interested in the jump to message monitoring (No. 1) and the Access Log (No. 5). All other areas concern mainly *integration admins*.
Monitor Message Processing Area
The overview displays all processed messages in all delpoyed integration flows and can be filtered. It also allows direct access to the processed message.
The Message at the Status Column can Have Different Values.
Sample with Message Status Completed
- Open Monitor Artifacts → Overview → Manage Integration Content:
No. 1: the filter bar, No. 2: a message with status
- Choose the message with status
On the right side of the windows, there is another section that provides a wealth of information about message processing. When the log level is set to info, this section serves as the primary monitor.
However, if the log level is set to trace, you can access the debugging mode of the process flow, which we have already encountered in the exercise.
Jump in Directly From your Integration Flow
A more concise version could be: "You can navigate from the integration flow to the monitor artifacts section using the link Navigate to Manage Integration Content, which opens the monitor in a new tab for easier navigation. This is used in the exercises, and provides access to all information about the processing through various tabs.
This approach is used in the exercises of this training. All information about the processing can be accessed via the different tabs.
System Log Files
The Access Logs section in the Build-In Monitor provides direct access to the System Log files via the System Log Files tile. These files include the HTTPs access logs and the trace logs, and are retained for a period of 30 days.
After having opened the tile, you have access to the system logs.
SAP Cloud Integration API for Message Processing Logs
Open the tile Message Processing Logs → API Reference. Now we can examine the API with the swagger UI.
Try out GET /MessageProcessingLogs.
At (No. 1), you will find the metadata of this message. At (No. 2), the navigation is on the left to examine specific information.
Configure the API Access
If a user is assigned the PI_Administrator or PI_Integration_Developer Role Collection, they can directly access the API using their credentials.
- The URL Scheme is:
- Sample for the Resource LogFiles
Call the following URL with your own subdomain and region:
To be independent of the size of the SAP Cloud Integration database and manage a large number of log files, customers can use the external logging feature to send message processing logs to an external system. This section provides instructions on how to enable this feature on your tenant.
- Types of Monitoring
- Read the whole story: Monitoring tools for Cloud Integration Capability of SAP Integration Suite | SAP Blogs
- Build-In Monitor for Message Monitoring
- Here is an overview about the sections on monitor start page: Monitoring
- Message Status
- Find a complete overview and description at: Message Status
- External Logging
- External Logging
SAP provides various products to support message monitoring such as SAP Cloud ALM, SAP Solution Manager, SAP Focused Run, SAP Analytics Cloud and more. In addition, SAP Cloud Integration provides its own graphical monitor which provides a comprehensive view of message processing. The monitor enables users to read system log files and is built on an API which can be directly called. This API enables users to create their own customized monitor.