- Documentation
- Learning Hub
- Journey Introduction to data sources
- Section 2 of 3 Common data sources
Loki
Slide 4 of 11
Loki: Cost-effective log aggregation
What it’s for: Logs including application logs, system logs, and audit trails.
Good to know
- Query language: LogQL, which is similar to PromQL
- Loki indexes labels rather than full log content, which lowers storage cost. You filter by labels first, then search within that subset, instead of running arbitrary full-text search.
- It shares Prometheus’s label model, so your Prometheus labels carry over.
Best for
- Teams already using Prometheus
- Cost-conscious log aggregation
- Correlating logs with metrics
Documentation
View the full documentation.
Loki data source