Generate, Access and Analyze Application Logs
This tutorial shows how the IBM Cloud Log Analysis service can be used to understand and diagnose activities of an app deployed in the IBM Cloud. We are going to deploy a Python Django-based Cloud Foundry app, generate different types of logs, and search, analyze and visualize them using Elasticsearch and Kibana, two of the components offered by the IBM Cloud Log Analysis service.e for a tutorial on how to use the IBM Cloud Log Analysis service for accessing, searching and visualizing application logs.
- Provision the IBM Cloud Log Analysis service
- Deploy a Python-based Cloud Foundry app
- Generate different kind of log entries
- Access application logs
- Search and analyze logs
- Visualize logs
IBM Cloud offers three complementary services that help to obtain insights into application health, stability and usage:
- The IBM Cloud Log Analysis service provides an easy-to-use interface to logs generated by applications running in the IBM Cloud. In the premium plans, even external log events can be fed into the service for consolidated storage and analysis.
- The Availability Monitoring service can be used to perform regular tests on an application to check availability, including speed.
- Last, the IBM Cloud Activity Tracker has the capability to capture, store and visualize activities performed by IBM Cloud users and services in your account. Captured events can be stored and analyzed, e.g., to investigate security breaches or unauthorized access.
In this tutorial, we are going to take a look at how to generate, access and analyze application logs. The documentation for IBM Cloud Log Analysis already includes a tutorial on how to analyze logs for an app deployed in a Kubernetes cluster. Therefore, in this guide, we are going to use a Cloud Foundry app.
Here is a screenshot of the app in this repository. Read the full guide at the IBM Cloud tutorials page: https://console.bluemix.net/docs/tutorials/application-log-analysis.html