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. In this discussion, we 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 applies to 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 are 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 deployed 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
- Completed
- Processing
- Retry
- Escalated
- Failed
- Canceled
- Discarded
- Abandoned
Sample with Message Status Completed
- Open Monitor Artifacts → Overview → Manage Integration Content:
No. 1: the filter bar, No. 2: a message with status complete.
- Choose the message with status complete:
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 HTTP's access and trace, and are retained for 30 days.
After having opened the tile, you have access to the system logs.
SAP Cloud Integration API for Message Processing Logs
The Monitor itself is based on a cloud integration API. To investigate it, navigate to: api.sap.com and search for the SAP Cloud Integration API. Find the APIs here: API.SAP.com.
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 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:
- https://{{host}}/api/v1/
- Sample for the Resource LogFiles
Call the following URL with your own subdomain and region: https://..hana.ondemand.com:443/api/v1/LogFiles
External Logging
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.
Resources
Read more:
- 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
Summary
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.