📝Distributed logging
Centralize your logs in a log management system
Last updated
Centralize your logs in a log management system
Last updated
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.
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.
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.
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
Your index pattern is good to go. Select Discover from the left sidebar and start searching!