Skip to main content

Centralized Logging Pattern

Learn Centralized Logging Pattern (Cloud-Native Patterns, Cloud-Native Patterns) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Centralized Logging Pattern In a system with many service instances (potentially auto-scaling up and down), logs scattered across individual machines are useless during an incident - you can't SSH into a container that no longer exists. Centralized Logging ships every instance's logs to one aggregated, searchable place instead. The ELK/EFK Stack • Filebeat/Fluentd - lightweight agents that read log files/streams and forward them. • Logstash (or Fluentd in EFK) - parses/enriches log lines. • Elasticsearch - stores and indexes logs for fast search. • Kibana - the UI for searching and visualizing...

More lessons in Cloud-Native Patterns