Scaling your logs with Grafana Loki
summary
Grafana Loki stores log streams as objects with a tiny label-based index so ingestion uses low CPU/RAM and avoids huge indexes — roughly 50 MB index per 10 TB of logs compared to multi-TB indexes in Lucene systems. Collection uses promtail/agents, Fluent Bit, Vector or OpenTelemetry. Queries parallelize over object storage and can exceed >1 TB/s retrieval in production; a 1 PB monthly corpus can shrink to ~80 TB by label selection and to ~1 TB by time window. Recording rules extract metrics from logs and experimental Bloom/ngram filters speed lookups.
AI-written summary · about
chapters (15)
- 0:00Introduction to Grafana Loki
- 1:06Why logs matter in observability
- 3:58Challenges of scaling logs
- 6:09Design goals for Loki
- 7:10How Loki ingests data
- 11:25Efficient logging at scale
- 13:12Label-based indexing explained
- 16:25Querying data with Loki
- 21:06Advantages of Loki's approach
- 22:10Turning logs into metrics
- 25:45Recording rules for efficiency
- 29:01Dos and don'ts with Loki
- 30:25Demo of Loki in action
- 31:28Recent Loki improvements
- 33:12Q&A session
