Monitoring Environments in Mendix Apps on SAP BTP
Introduction
For apps deployed to SAP Business Technology Platform (SAP BTP), you can see the logs using Kibana.
Configuring Kibana
For information about configuring and using Kibana, see the Kibana User Guide. For more details on how Kibana is integrated with SAP BTP, see Application Logging for the Cloud Foundry Environment.
Viewing the Logs
The Logs page in your Mendix app shows all the environments for this app. Click the Logs button to open the log in Kibana.
You may be asked to provide your SAP credentials before you can see the log in Kibana.
Troubleshooting
If you encounter any issues while using the configuring the logging service, use the following troubleshooting tips to help you solve them.
Application Logging Service Not Bound to App
The Application Logging (application-logs) service is not bound to your app automatically.
Cause
This issue may occur if your app is deployed to an environment created before October 22, 2018.
Solution
To resolve this issue, perform one of the following actions:
-
Create a new environment and deploy your app there.
-
Bind the service to your existing app by doing the following steps:
- Go to the SAP BTP cockpit.
- Go to the space for your environment.
- Find Application Logging in the Service Marketplace.
- Go to Instances.
- Create a New Instance and follow the instructions, ensuring that you bind it to your app.
- Restart the app.