Grafana Loki

By- Grafana Labs (Version 2.1.0 )



Grafana Loki is a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. It does not index the contents of the logs, but rather a set of labels for each log stream.

Compared to other log aggregation systems, Loki:

1- Does not do full text indexing on logs. By storing compressed, unstructured logs and only indexing metadata, Loki is simpler to operate and cheaper to run.

2- Indexes and groups log streams using the same labels you’re already using with Prometheus, enabling you to seamlessly switch between metrics and logs using the same labels that you’re already using with Prometheus.

3- Is an especially good fit for storing Kubernetes Pod logs. Metadata such as Pod labels is automatically scraped and indexed.

4- Has native support in Grafana (needs Grafana v6.0). Loki is like Prometheus, but for logs: we prefer a multidimensional label-based approach to indexing, and want a single-binary, easy to operate system with no dependencies. Loki differs from Prometheus by focussing on logs instead of metrics, and delivering logs via push, instead of pull.

Software Included

Getting started after deploying Grafana Loki

After you deploy the stack you will have the following deployed to your cluster in the loki-stack namespace:

1- Loki: The log-aggregation system and the queriers.

2- Promtail: The agent that is used to collect the logs.

3- Grafana: The UI using which you can now query your logs.

Support Details

Supported By: Grafana Labs
Support URL: