# Grafana Loki

> Like Prometheus, but for logs

Source: https://talira.ai/catalog/grafana-loki-r1m2vz1n
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Database, Command-line tool
- Categories: [devops / observability / logs](https://talira.ai/categories/devops/observability/logs)
- Platforms: linux, windows, macos, docker, kubernetes[^6][^9][^10]
- Licence: AGPL-3.0-only[^4][^7]
- Pricing: Free and open source[^4]
- Pricing notes: Free and open source under AGPLv3. Also available hosted in Grafana Cloud (price not recorded here).
- Free tier: yes[^4]
- Self-hostable: yes[^6]
- Cloud hosted: yes[^4]
- API: yes[^8]
- Supports: [OpenTelemetry (OTLP)](https://talira.ai/standards/opentelemetry.md)[^11]
- Backed by: [Grafana Labs](https://talira.ai/orgs/grafana-labs.md)
- Funding: Series D, 2024[^12]

Grafana Loki is a horizontally scalable, highly available, multi-tenant log aggregation system inspired by [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md). Instead of indexing the full text of logs it indexes a set of labels for each log stream and stores compressed logs in object storage, which makes it cheaper to run and simpler to operate. You query it with LogQL from [Grafana](https://talira.ai/catalog/grafana-y52f1g3g.md) or from logcli, its command-line client, can tail logs live, build metrics and alerts from log lines and send alerts to [Prometheus Alertmanager](https://talira.ai/catalog/prometheus-alertmanager-627b1449.md). Grafana Labs started it in 2018 and leads its development; it is AGPLv3 and also offered hosted in Grafana Cloud.

## Links

- Website: https://grafana.com/oss/loki/
- GitHub: https://github.com/grafana/loki
- Docs: https://grafana.com/docs/loki/latest/

## Ways to install

### On your own server

- [YunoHost](https://talira.ai/catalog/yunohost-f9asga4s.md): <https://apps.yunohost.org/app/loki>[^1]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/loki>[^2]

### Package managers

- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/loki-logcli>[^3]

## Problems it solves

- store logs from all my servers and Kubernetes pods cheaply without running Elasticsearch
- search my container logs in Grafana next to the metrics I already have from Prometheus
- centralize my home lab's Docker logs in one place I can search
- my log storage bill is huge because everything gets full-text indexed
- query and tail logs from the terminal instead of a web UI
- download a time range of logs or count log streams to check label cardinality from the command line
- alert when a particular error starts showing up in my application logs
- turn log lines into metrics and graphs without a separate pipeline
- keep months of logs in cheap object storage instead of on expensive disks
- run a multi-tenant log backend that several teams share
- keep our logs in an S3 bucket where storage is cheap and still search them by label in Grafana

## Features

- indexes labels per log stream instead of full text
- persists logs to object storage
- LogQL query language
- logcli command-line client for LogQL queries, downloads and cardinality analysis
- live tailing of logs
- metrics and alerting rules from log lines, routed to Prometheus Alertmanager
- native Grafana data source
- horizontally scalable, highly available and multi-tenant
- Docker driver client to send container logs
- Loki Canary to detect missing logs
- HTTP API for pushing and querying logs

## Limitations

- Doesn't index the full text of log lines: it indexes only a set of labels for each log stream[^4][^5]

## Ways to run it

### Grafana Loki

You run it, AGPL-3.0-only. Price: free.[^5][^6]

You arrange:

- object storage for log data
- Grafana for querying and dashboards
- a log collector such as Grafana Alloy

Self-hosting docs: https://grafana.com/docs/loki/latest/setup/install/

### Grafana Cloud

Hosted by Grafana Labs. Price: not published.[^4]

Only in this edition:

- Loki hosted by Grafana Labs as part of Grafana Cloud

Pricing: https://grafana.com/oss/loki/

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.83 out of 1.
Signals: maintenance 1.00, adoption 0.89, momentum 0.74, community 1.00, backing 0.55, extensibility 0.40.

- last commit 5 days ago
- 1413 commits in the last 90 days
- latest release v3.7.10 11 days ago
- 29.2k GitHub stars
- 1378 contributors
- backed by Grafana Labs
- funding: Series D, 2024

## Alternatives

- [OpenObserve](https://talira.ai/catalog/openobserve-jgafex9m.md): Open source observability for logs, metrics, traces, RUM and session replay
- [Elasticsearch](https://talira.ai/catalog/elasticsearch-5kvt1ns8.md): Open source search, analytics, and AI platform
- [Quickwit](https://talira.ai/catalog/quickwit-vfean97n.md): Cloud-native search engine for observability: sub-second search and analytics on cloud storage
- [OpenSearch](https://talira.ai/catalog/opensearch-s3zfhw7f.md): The open engine for AI-powered search and observability
- [Graylog](https://talira.ai/catalog/graylog-cas6kpkv.md): The SIEM and Log Management Platform for the AI Era
- [SigNoz](https://talira.ai/catalog/signoz-0gy8hp97.md): Open-source, OpenTelemetry-native observability: logs, metrics and traces in one tool

## Sources

[^1]: https://app.yunohost.org/default/v3/apps.json (checked 21 Nov 2026)
[^2]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/loki.sh (checked 21 Nov 2026)
[^3]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^4]: https://grafana.com/oss/loki/ (checked 19 Nov 2026)
[^5]: https://github.com/grafana/loki/blob/main/README.md (checked 19 Nov 2026)
[^6]: https://grafana.com/docs/loki/latest/setup/install/ (checked 19 Nov 2026)
[^7]: https://github.com/grafana/loki/blob/main/LICENSING.md (checked 19 Nov 2026)
[^8]: https://grafana.com/docs/loki/latest/reference/loki-http-api/ (checked 19 Nov 2026)
[^9]: https://grafana.com/docs/loki/latest/setup/install/local/ (checked 19 Nov 2026)
[^10]: https://grafana.com/docs/loki/latest/query/logcli/getting-started/ (checked 19 Nov 2026)
[^11]: https://grafana.com/docs/loki/latest/send-data/otel/ (checked 19 Nov 2026)
[^12]: https://grafana.com/press/2024/08/21/grafana-labs-soars-past-250m-arr-and-5000-customers-completes-270m-primary-and-secondary-transaction-and-named-a-leader-in-the-gartner-magic-quadrant-for-observability-platforms/ (checked 20 Nov 2026)
