From the course: Spring Boot Observability: Deep Dive into Logging, Metrics, and Tracing

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Why centralized logging

Why centralized logging

- [Instructor] The best way to capture log information from distributed systems is with centralized logging. Using our previous example of two applications dependent on each other running on a distributed system rather than having the logs in each system, the goal is to stream log information to centralized log service. We want to do this in near real time. So if something goes wrong, we can immediately see what is happening. Centralized log system is able to reliably and securely take data from any source in any format. This would allow us to search logs that match some criteria and often allow us to get correlated logs from for the same request. To get this kind of setup, we can use tools built to provide centralized logging system. ELK Stack, Logstash ingest the logs. Elasticsearch to query the logs. Kibana dashboard to visualize the logs. Splunk, Graylog, Loggy, and each cloud service comes with its own solution.…

Contents