Grafana Loki
grafana.com
- Free plan
- Open source
- Windows
- Linux
- Web
- API
- Self-hosted
What Grafana Loki is
Grafana Loki is a log aggregation system for storing and querying logs from applications and infrastructure. It can be self-hosted, scales horizontally, supports high availability and multiple tenants, and indexes labels rather than the contents of log lines. LogQL lets users explore logs in Grafana or with the LogCLI command-line tool. Grafana says Loki stores logs in object storage for high throughput, durable storage, and petabyte-scale use. It can evaluate alerting rules on incoming logs and send alerts to Prometheus Alertmanager. Native integrations include Prometheus, Grafana, and Kubernetes. Documented log shippers include Grafana Alloy, OpenTelemetry, Kubernetes Monitoring Helm, Docker, Fluent Bit, Fluentd, and Logstash. Installation options include Helm, Tanka, Docker or Docker Compose, local installation, and source builds. Loki is an AGPLv3-licensed open-source project. It has no built-in authentication layer, so Grafana instructs users to place an authenticating reverse proxy in front of its services. Grafana also warns that high-cardinality labels can reduce performance and cost-effectiveness. Loki users can seek help through the community forum, Grafana Labs Slack, or the project email.
Who it suits
Loki suits teams that need to aggregate and query application or infrastructure logs, especially those already using Grafana, Prometheus, or Kubernetes. It is available for self-hosted deployments and through Grafana Cloud Logs plans.
Good to know, and what to watch
- Queries logs with LogQL in Grafana or LogCLI
- Supports horizontal scaling, high availability, and tenants
- Can alert on incoming logs through Alertmanager
- Offers multiple documented installation and log-shipping options
- Self-hosted project is AGPLv3-licensed
- No built-in authentication layer
- High-cardinality labels can reduce performance and cost-effectiveness
Plans
Every plan and priceGrafana Cloud Logs Enterprise
Grafana Cloud Logs Free
Grafana Loki OSS self-hosted
Loki (self-hosted)
Free plan
The verdict
Loki provides log collection, querying, and alerting options for self-hosted environments. Plan for a separate authentication layer and carefully chosen labels.
What the maker publishes
- Alerting
- Loki can evaluate alerting rules on incoming logs and send resulting alerts to Prometheus Alertmanager. source
- Alerting
- The Loki ruler evaluates log queries continuously and integrates with Prometheus Alertmanager or Grafana alerting. source
- Architecture
- Loki is horizontally scalable, highly available, and multi-tenant, and it indexes labels rather than the contents of log lines. source
- Authentication limit
- Loki does not include an authentication layer, so Grafana instructs users to put an authenticating reverse proxy in front of its services. source
- Authentication limitation
- Loki ships without an authentication layer, so operators must place an authenticating reverse proxy in front of it. source
- Compressed storage
- Log contents are compressed into chunks stored in object storage such as Amazon S3, Google Cloud Storage, Azure Blob Storage or a local filesystem. source
- Deployment options
- self-hosted source
- Documentation depth
- The documentation covers architecture, deployment modes, configuration, ingestion clients, operations, multi-tenancy, LogQL, APIs, troubleshooting, upgrades and release notes. source
- Free plan
- Yes source
- Grafana integration
- Grafana has built-in Loki support, so a separate data-source plugin is not required. source
- HTTP API
- The public HTTP API supports log push, OTLP ingestion, instant and range queries, tailing, labels, rules, deletion and cluster status endpoints. source
- Independent assessment
- Thoughtworks’ 2025 Technology Radar says Loki reduces operational complexity and storage costs, integrates tightly with Grafana and Alloy, and added native OpenTelemetry support in version 3.0. source
- Installation
- Grafana documents installation using Helm, Tanka, Docker or Docker Compose, local installation, and source builds. source
- Integrations
- Grafana describes native integrations with Prometheus, Grafana, and Kubernetes. source
- Integrations
- Official documentation lists Grafana Alloy as the recommended collector and describes OpenTelemetry, Promtail, Fluent Bit, Fluentd, Vector, Logstash and other clients. source
- Label-based indexing
- Loki indexes stream labels and metadata instead of indexing the full text of each log line. source
- Label cardinality
- Grafana warns that high-cardinality labels can significantly reduce Loki performance and cost-effectiveness. source
- License
- Grafana states that Loki is released under the GNU Affero General Public License version 3. source
- License and project history
- Loki is released under AGPLv3, and Grafana says the project started at Grafana Labs in 2018. source
- Limit: full-text search
- Independent analysis says ad-hoc full-text searches over large time ranges can be slower than Elasticsearch or Splunk because Loki filters labels before scanning log contents. source
- Limit: label discipline
- Reviewers warn that high-cardinality or poorly chosen labels can cause slow queries, large scans and production performance problems. source
- Limit: learning curve
- TrustRadius reviewers report a steep learning curve, difficulty with long-term log insight and a need for better query suggestions and syntax checking. source
- Limit: operational complexity
- Independent review coverage says production deployments commonly involve six or more independently scaling components and require Kubernetes expertise. source
- Limit: reporting and forensics
- Independent guidance says Loki is weak for immutable audit trails, scheduled reports, PDF or spreadsheet exports, broad forensic searches and compliance-heavy reporting. source
Checked against the maker's pages on 15 Oct 2026.