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.
- Navigate to Connections > Data sources in Grafana.
- Click Add data source and search for "Loki".
- 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.
- Version
- 13.1.0
- Dependencies
- Grafana >=12.3.0-0
- Developer
- Grafana Labs
- Last Updated
- July 30, 2026