This is documentation for the next version of Grafana documentation. For the latest stable release, go to the latest version.

Grafana Cloud Enterprise Open source
Last reviewed: July 29, 2026

Loki data source

Grafana Loki is a horizontally scalable, highly available, multi-tenant log aggregation system by Grafana Labs. Unlike other logging systems, Loki indexes only metadata about your logs in the form of labels, the same label model used by Prometheus. Loki compresses and stores the log content itself in chunks in object stores such as Amazon S3 or Google Cloud Storage, or on a local filesystem. The Loki data source in Grafana lets you query and visualize those logs, and correlate them with metrics, traces, and other data in unified dashboards.

Grafana includes built-in support for Loki, so you don’t need to install a plugin.

Supported features

FeatureSupported
LogsYes
MetricsYes. Use LogQL metric queries to derive metrics from logs.
TracesNo
AlertingYes
AnnotationsYes

Get started

The following documents help you get started with the Loki data source:

To learn more about Loki itself, refer to the following Loki documentation:

Additional features

After configuring the Loki data source, you can: