Monitoring and Logging Message

Objective

After completing this lesson, you will be able to use Message Monitoring and Logging.

Message Monitoring and Logging

In this lesson, we will cover the following topics:

  • Health Monitoring with SAP Cloud ALM
  • Analyze API usage and performance with the build-in Advanced API Analytics
  • Logging with Message Logging Policy
  • Inspection

Health Monitoring with SAP Cloud ALM

In the Health Monitoring application, you can check the health of your monitored cloud service and technical systems from an application and customer perspective. Technical metrics are collected regularly and can be used to calculate the overall health of the monitored object. The monitored metrics are defined by the service itself and can differ for each service type. At the moment, only health monitoring with the SAP Cloud ALM solution is possible.

Analyze API Usage and Performance with Build-in Advanced API Analytics

Advanced API Analytics brings an all-new analytics dashboard, providing powerful tools and in-depth reports for analyzing your API usage and performance. The reports are categorized across report pages, with each report page providing information about key API metrics, which are relevant for both business users and API developers.

Navigate to MonitorAPIs. The analytics dashboard opens.

Screenshot of the SAP Integration Suite Analytics page showing API status metrics including total API calls, errors, response time, and latency, all listed as zero. No data is displayed in the table.

There are many views and settings options to visualize relevant information.

Logging with Message Logging Policy

If you want to use a logging solution, API Management lets you send syslog messages to the third-party log management service. If you want to send syslog to a third-party service, follow the service documentation.

Third-party log management services are as follows:

  • Splunk
  • Sumo Logic
  • Loggly
  • Others

A syslog message contains the following elements and attributes of Request and/or Response depending on the place at the flow.

  • Message (Payload)
  • Host
  • Port
  • Protocol

As a result, the following screenshot shows the use of Splunk:

Splunk Monitoring example. Dashboard showing API Traffic trends, Reqs Latency, API Usage by Processing Time, and pie chart where 69.76% of requests processed between 300-600 ms, with 2,372 requests in total.

Resources

Health Monitoring with SAP Cloud ALM

Analyze API usage and performance with the Build-in Advanced API Analytics.

Read more here: Analyze APIs

Logging with Message Logging Policy

Inspection

Summary

You can examine the metrics, usage, and performance of individual API calls with the build-in Advanced API Analytics and SAP Cloud ALM product. Communication parameters and payload can be logged with the Message Logging Policy, which compiles the corresponding data and uses an external solution such as Loggly or others to visualize it.