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
tsdbindex 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).
More on Logging: ELK/EFK, Loki & Log Shippers
What is the ELK stack, and what is EFK?BeginnerHow does Elasticsearch store and search logs?IntermediateWhat is ILM (Index Lifecycle Management) and why do log clusters need it?IntermediateWhat is an Elasticsearch data stream?AdvancedWhat is an index template and mapping, and what is a mapping explosion?AdvancedWhat does Logstash do compared with Beats?Intermediate