Monitoring Environments in Mendix Apps on SAP BTP

Last modified: April 18, 2024

1 Introduction

For apps deployed to SAP Business Technology Platform (SAP BTP), you can see the logs using Kibana.

2 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.

3 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.

Logs Page SAP

You may be asked to provide your SAP credentials before you can see the log in Kibana.

4 Troubleshooting

If you encounter any issues while using the configuring the logging service, use the following troubleshooting tips to help you solve them.

4.1 Application Logging Service Not Bound to App

The Application Logging (application-logs) service is not bound to your app automatically.

4.1.1 Cause

This issue may occur if your app is deployed to an environment created before October 22, 2018.

4.1.2 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:

    1. Go to the SAP BTP cockpit.
    2. Go to the space for your environment.
    3. Find Application Logging in the Service Marketplace.
    4. Go to Instances.
    5. Create a New Instance and follow the instructions, ensuring that you bind it to your app.
    6. Restart the app.