Interview Prep/Monitoring & Observability/Logging: ELK/EFK, Loki & Log Shippers

What are the main Loki components?

AdvancedConceptLogging: ELK/EFK, Loki & Log Shippers
Answer
  • Distributor: receives pushes, validates, hashes streams to ingesters.
  • Ingester: builds chunks in memory with a WAL, flushes to object storage.
  • Querier / Query frontend / Query scheduler: split, cache and execute queries.
  • Index gateway: serves the TSDB index (the tsdb index type with schema v13 is current).
  • Compactor: compacts index files and applies retention and deletes.
  • Ruler: evaluates LogQL alerting and recording rules.

Deployment modes: monolithic, simple scalable (read/write/backend, being phased out), and microservices (distributed Helm chart).

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Logging: ELK/EFK, Loki & Log Shippers