Skip to Content
Technical Articles
Author's profile photo Naveen Jain

Application Logging by using Web-based Kibana UI in SAP Cloud Foundry

As we know there are many things to explore in SAP Cloud Foundry, and there are many services available in cloud foundry with unique capabilities.

Here in this blog i Just wanted to showcase the capabilities of Application Logging Service in SAP Cloud foundry.


What is Application Logging-

We can use Application logging to Create, store, access and analyze application logs. The SAP Cloud Platform Application Logging service on Cloud Foundry lets you stream logs of bound applications to a central application logging stack.

Application Logging on Cloud Foundry uses Elastic Stack to visualize and store your application log data.

We can see data in form of table as well as in web based Kibana Dashboard.



This service runs in the following environments:

  • Neo environment
  • Cloud Foundry environment – I am using this approach to show our scenarios


  • Structured and rich log messages

Benefit from automatically structured log messages stored in Elasticsearch, harmonized across different runtimes, with meta-data, metrics, and custom values which offer a rich basis for deep analysis.

  • Web-based Kibana UI

View, search, and analyze logs via the powerful Kibana technology with predefined dashboards and quickly identify relevant spots via interactive exploration.

  • Log libraries for Java and Node.js apps

Use dedicated open source logging libraries for simple log production for Java and Node.js applications in the Cloud Foundry environment.

  • Retention period

Exploit the retention period of up to 7 days which lets you do a post-mortem analysis.


Steps to Access-


You have already created an account in SCP Cloud foundry.

You have already few apps deployed, start and available in cloud foundry such as java, node js.

I am using JAVA application to display the logs in Kibana dashboard.


  1. Create Service Instance for Application logging service

This below help doc will help you to understand Application logging and other related features in more details like how to create instance.


Service Market Place –> Application Logging –> Create instance



Service Instance

  1. Application Binding

Service Instance –> Select Service and bind app –> select your app

Below helps doc will help you to understand in more details.



Application Binding

  1. Select Applications page in your dev space.

Select any one Started application, in my case I am selecting last apps Highlighted with green colour which is java app.


Application Page

After clicking on app, you will reach to another page which would be look like below.


Click on Logs — Highlighted in green color box



You will be able to see logs below.



Logs- You can also export Logs



To open Kibana Dashboard click on “Open Kibana Dashboard Button” Highlighted in Yellow Box it will navigate to login screen


Open Kibana Dashboard

Let me talk about Kibana first –

Kibana is an open source frontend application that sits on top of the Elastic Stack, providing search and data visualization capabilities for data indexed in Elasticsearch. Commonly known as the charting tool for the Elastic Stack , Kibana also acts as the user interface for monitoring, managing, and securing an Elastic Stack cluster — as well as the centralized hub for built-in solutions developed on the Elastic Stack.

Login Screen



Login Screen

You can see total logs, log time, performance, log timeline ,dropped logs, metrics, error code  etc. for particular app.

Here whatever information you are able to see it is all related to my Java application which i have used at the time of binding.



You can also create Visualizations




Here in this blog we have talked about the capabilities of Application Logging service in SAP Cloud foundry and integration with KIBANA Web Based UI.

Hope you all will like it.

Keep Exploring and Happy Learning.

Thanks and Regards

Naveen Kumar Jain

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Denys van Kempen
      Denys van Kempen

      Great blog, Naveen. Thanks for posting.

      For the readers, you may find the SAP Cloud Platform Onboarding video tutorial series by Philip MUGGLESTONE of interest which shows how to set this up

      Author's profile photo Naveen Jain
      Naveen Jain
      Blog Post Author

      Thanks a lot Denys 🙂

      Author's profile photo Leila Neffati
      Leila Neffati

      Thanks for the information Naveen, great blog.

      I just want to ask about the possible actions that we can do with Kibana in SAP Cloud foundry env.

      I have been searching for the possibility to add custom code to Kibana, I mean Kibana plugins.Is it possible to add Kibana plugins here ?Are we allowed ?


      Author's profile photo Naveen Jain
      Naveen Jain
      Blog Post Author

      hanks Leila,

      Thanks for the same

      Kibana is integrated with cloud foundry to Create, store, access and analyze application log. and even you can create visualization also.

      As per my knowledge  integrated Kibana in CF should allow all the features which standalone Kibana Allows.



      Naveen Jain

      Author's profile photo Dileep Kumar KOSANA
      Dileep Kumar KOSANA

      Hi Naveen Jain ,

      Thanks for the blog.

      I have one question regarding application logging service. Currently we have enabled application logging service for our custom forms and logs are only available for 7 days and we cannot increase the duration as it is handling by SAP.

      do you have any idea how we can take backup application logs from SAP BTP to HANA cloud or some other storage?

      Thanks in Advance.


      Dileep Kosana.