📝Distributed logging

Centralize your logs in a log management system

Harmony uses Kibana & Elasticsearch for centralized, distributed logging. All microservices send their logs to an elastic instance and Kibana is responsible to search, aggregate, and visualize data.

Search functionality is only available using docker containers.

Deploy Elasticsearch and Kibana using either the docker-compose or the Kubernetes kubectl command.

Configure Kibana for searching

Assuming you have deployed the docker containers either using the docker-compose command or using the kubectl to a Kubernetes cluster, Kibana should be up and running on port 5601.

  1. Navigate to http://localhost:5601/app/home#/ to open Kibana's interface. If it's the first time you will see a welcome message, just click Explore on my own.

  1. Open the left sidebar and find the Kibana index patterns from the management menu, in order to create an index pattern for harmony. Alternative you can just navigate to http://localhost:5601/app/management/kibana/indexPatterns. Click Create index pattern and fill the following values:

  • Name: harmony-*

  • Timestamp field: @timestamp

  1. Your index pattern is good to go. Select Discover from the left sidebar and start searching!

Last updated