|Alert Notifications||Exceptions||Collects events sent from the Alert Notification Service|
|Java Neo Application||Exceptions||Collects exceptions in Java Logs for applications running in SAP Cloud Platform|
Determine Root URL
Create User for Java Log Monitoring
To connect to SAP Cloud Platform to collect Java application exceptions you need to provide Focused Run with a user that is allowed to read the default trace.
Write Java Errors into Default Trace
This last preparation step starts already during the development of the SAP Cloud Platform application. To be able to collect application errors, these errors must exist in the default trace for the SAP Cloud Platform java application. Hence developers must write meaningful errors in this trace. The quality of the monitored exceptions completely depends on the quality of the exceptions written by the developer.
Enable SAP Cloud Platform Alert Notifications
Receiving alert notifications is done via the Alert Notification Service which can be enabled for your SAP Cloud Platform account.
Important: Please be aware that the use of this service is quota based (billable)!
To enable the service please follow the documentation:
Gather Connection Information
To authenticate towards the service you have to create an OAuth client in SAP Cloud Platform. Information how to do this you find here:
Please make sure to note down or copy the client secret, as it cannot be retrieved later on.
You will need the following connection information to connect SAP Cloud ALM.
You have to create two endpoints for the SAP Cloud Platform service. One for the collection of Java exceptions and one for Alert Notifications.
Because you have to choose the correct end-point for each of the categories in SAP Cloud Platform (Neo) you have to activate the monitoring manually.
Adjust Monitoring Categories
Available Alerts for SAP Cloud Platform (Neo)
Available Filter Fields for SAP Cloud Platform (Neo)
The filter fields depend on the monitoring category the alert is created for and additional on the filter category, if there is more than one available.
Java Application Logs