← DevOps tools
Observability

Loki

A horizontally scalable log aggregation system designed to work efficiently with labels and Grafana.

Why it exists.

It centralizes logs for investigation without indexing every log line like a full-text search engine.

Where it shines.

Kubernetes and Grafana-based observability stacks with label-oriented log queries.

Where not to use it.

Do not use it as a metrics or trace store, and design retention and cardinality deliberately.

What it is made of.

  • Promtail or agent
  • Loki
  • LogQL
  • Labels
  • Grafana

How it works.

  1. Agents collect log streams
  2. Loki stores them by labels
  3. LogQL queries the streams
  4. Grafana visualizes and correlates them
Questions and answers.Open the interview practice set for Loki.
Search