# grafana/loki

Like Prometheus, but for logs.

Repository: https://github.com/grafana/loki
Canonical: https://ross.abutalabs.com/products/grafana-loki
Homepage: https://grafana.com/oss/loki
Language: Go
License: AGPL-3.0
License Family: copyleft
Topics: loki, grafana, prometheus, logging, cloudnative, hacktoberfest
Last push: 2026-08-26T23:17:55+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 3061, "days_push": 7, "days_rel": 15, "gap_med": 6.0, "n_releases_24m": 67}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 28790, forks 4092 (observed 2026-08-28T04:11:52.813877+00:00)

## What it is
Grafana Loki is a horizontally scalable, multi-tenant log aggregation system inspired by Prometheus that indexes only log stream labels rather than full log contents. It stores compressed log chunks in object storage like S3 or GCS, integrates natively with Grafana and Kubernetes, and supports LogQL querying, metrics-from-logs, and alerting.

## Use cases
- aggregate logs from kubernetes pods
- cheap centralized log storage
- query logs in grafana
- generate metrics and alerts from log lines
- replace elasticsearch for log management
- collect and search application logs at scale

## When to choose
- you already use Prometheus and Grafana and want label-based log correlation
- you want cost-effective log storage on object storage without full-text indexing
- you run Kubernetes and want automatic pod label indexing
- you need a horizontally scalable, multi-tenant logging backend

## When to avoid
- you need full-text search over log contents with rich ad-hoc queries
- you want a turnkey single-binary log solution with a built-in UI
- you rely on complex log parsing and indexing at ingestion time

## Facets
- artifact type: service
- maturity: stable
- function: logging, monitoring, search-engine, alerting
- domain: monitoring, cloud-computing, self-hosted
- platform: cloud, self-hosted, go
- tags: log-aggregation, prometheus-style, grafana, logql, object-storage, observability, multi-tenant, storage, devops, linux, docker, kubernetes

## Member repositories
- grafana/loki (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:52.813877+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:54:19.611322+00:00, confidence not recorded.
  - readme: https://github.com/grafana/loki (fetched 2026-08-28T04:11:52.813877+00:00, sha 6a32313a7804)
  - homepage: https://grafana.com/oss/loki (fetched 2026-08-29T07:50:43.117704+00:00, sha 1d55715adb2d)
  - site_page: https://grafana.com/docs (fetched 2026-08-29T07:50:43.130136+00:00, sha 882a3fe34bf0)
  - site_page: https://grafana.com/docs/loki/latest?pg=oss-loki&plcmt=quick-links (fetched 2026-08-29T07:50:43.132085+00:00, sha e6e2893ac863)
  - site_page: https://grafana.com/go/webinar/getting-started-with-logging-and-grafana-loki?pg=oss-loki&plcmt=quick-links (fetched 2026-08-29T07:50:43.134281+00:00, sha 015e737f12a9)
  - site_page: https://grafana.com/docs/loki/latest/get-started?pg=oss-loki&plcmt=resources (fetched 2026-08-29T07:50:43.136537+00:00, sha 17fdf26b4e95)
  - site_page: https://grafana.com/docs/loki/latest?pg=oss-loki&plcmt=resources (fetched 2026-08-29T07:50:43.138244+00:00, sha 87abe57f8b3a)
  - site_page: https://grafana.com/pricing (fetched 2026-08-29T07:50:43.127389+00:00, sha 6097ce127c08)
- Data as of 2026-08-30T08:39:29.467469+00:00.
