Plugins
Data sourceGrafana
Loki logo

Loki

Grafana Labs

Get plugin

Loki data source for Grafana

Note: This core plugin was extracted from the grafana/grafana repository and is now bundled with Grafana.

Overview

The Loki data source plugin allows you to query and visualize log data from Grafana Loki, a horizontally scalable, highly available log aggregation system.

Requirements

  • Grafana 12.3 or later

Getting started

This plugin is bundled with Grafana — no installation is required for standard Grafana deployments.

  1. Navigate to Connections > Data sources in Grafana.
  2. Click Add data source and search for "Loki".
  3. Configure the connection settings and click Save & test.

For detailed setup instructions, see the Loki data source documentation.

Custom Grafana distributions

If you are building a custom Grafana binary or distribution that excludes bundled plugins, you can install this plugin from the Grafana plugin catalog.

Documentation

Full documentation is available at:

https://grafana.com/docs/grafana/latest/datasources/loki/

Contributing

See CONTRIBUTING.md.

License

This plugin is licensed under the AGPL-3.0.

Insights

  • Adoption

    Running on 397,170 active Grafana instances.

  • Activity

    Last updated 8 Oct 2026.

    8 releases in the past year.

  • Queries

    1,090,026,621 total queries served across all Grafana Cloud instances.

Grafana Cloud

Connect any plugin in Grafana Cloud.

  • 150+ data source integrations
  • Grafana Assistant - AI that correlates your data, builds queries, and answers questions
  • 10k Prometheus metrics + 50 GB logs, traces, and profiles on the free tier
  • ...and more
Create free account