Monitoring and Logging
Overview
Using the monitoring and the logging service, you can retrieve the status of a service executed. For example, the service to create multiple things generates a correlation ID.
-
You can use the monitoring service to retrieve status of correlation IDs. The response of the monitoring service includes statuses such as Success, In Process, Error, or Partial Success and a detailed log for the service executed.
-
You can use the logging service to retrieve the log details of a specific correlation ID and in turn the details of individual logs.
Resource Path: http://<server address>[:<port number>][/path]/ServiceMonitoring
Example for a base URI in a cloud foundry environment: https://service-metrics-sap.cfapps.eu10.hana.ondemand.com/ServiceMonitoring
Operations
CRUD Operations
| HTTP Method | Operation | URI | Scopes |
|---|---|---|---|
| GET | Read all Correlations | /Logging/Correlations | monitor.r |
| GET | Read Status of a Correlation ID | /State/Status('<<Correlation ID>>') | monitor.r |
| GET | Read Log Details of a Correlation | /Logging/Correlations('<<Correlation ID>>')/Logs | monitor.r |
| GET | Read Details of a Log | /Logging/Logs('<<log ID>>') | monitor.r |