Loki: Like Prometheus But for Logs
summary
Loki is a Prometheus-style log store that indexes only labels (not full log text), stores long-term log chunks in object storage such as S3 or GCS, and relies on agents like Promtail or Grafana Agent to attach metadata. It can run as a single binary or as microservices, exposes LogQL for metric-like queries, and is designed to scale (examples: a Grafana cluster serving 4,500 tenants at ~700 Mbps; scan rates up to ~1 GB/s per CPU core) by trading expensive full-text indexing for cheaper storage and resilient ingestion, with features like configurable retention and Grafana dashboard/alert integrations.
AI-written summary · about
chapters (20)
- 0:00Loki: Like Prometheus But For Logs
- 0:10Who Are You?
- 0:553:30 PM Lab
- 1:30Session Agenda
- 2:16Audience
- 2:38The 3 Recurring Problems
- 3:51An Integrated Solution
- 4:37A Service Discovery
- 4:56A Product for Logs
- 5:41What We Tried to Solve and Improve
- 6:29Loki Adoption
- 8:11The Magic of Loki
- 10:25Loki's Index
- 11:55Labels
- 12:39Ingestion
- 13:33Smart Queries
- 15:39Installation and Deployment
- 19:13Loki's Dashboard
- 26:20Advantages of Loki
- 27:09Q&A
related talks
37mGrafana Loki: Like Prometheus, But for logs.
25mLoki: Prometheus-inspired logging for cloud native
05mGrafana Loki Log Aggregation for Incident Investigations
53mGetting started with Grafana Loki, a modern logs database
44mIntroduction to Grafana Loki
27mObservability with Prometheus and beyond
36mObservability with Prometheus and Beyond: Leveraging Cloud-native Technologies Outside of Cloud
15mOperations report: Running Loki on Different On-Prem Environments
