selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Grafana Loki logo

Self-host Grafana Loki

v3.7.10

Prometheus-inspired log aggregation for cloud-native use

ReleaseOpen SourceAGPL-3.0
Updated3 days ago
LanguageGo
Setup difficultyModerate
Stars
29 166
Ports
3100 (HTTP API and ingestion), 9096 (gRPC)
Docker
grafana/loki

What is Grafana Loki?

Grafana Loki is a log aggregation platform built for cloud-native deployments. It stores compressed, unstructured logs while indexing only metadata labels, which keeps storage costs low and queries fast. The system works naturally with Prometheus label conventions and Grafana dashboards, and excels at handling Kubernetes pod logs. Three components make up the stack: Loki itself for storage and queries, Alloy (formerly Promtail) for collecting logs, and Grafana for the UI. Deployment options include a single binary, a microservices architecture, or a Helm chart on Kubernetes. The code is licensed under AGPL-3.0-only with Apache-2.0 exceptions.

Grafana Loki alternatives

Should you self-host Grafana Loki?

Grafana Loki scores 81/100 on selfhost.directory (how scoring works) and ranks #1 of 8 in Logging. It has 29 166 GitHub stars, +156 in the last 30 days.

It shipped 24 stable releases in the past year. The latest, v3.7.10, came out on 13 November 2026. New versions land roughly every 7 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is rsyslog (67/100, 2 348 stars). Grafana Loki scores higher overall. See Grafana Loki vs rsyslog side by side.

Features

  • Alerting on logs
  • Docker logging driver
  • Kubernetes pod log support
  • Label-based indexing
  • Log Aggregation
  • LogCLI
  • LogQL query language
  • Loki Canary
  • Metrics from logs
  • Microservices mode
  • Multi-Tenant Support
  • Prometheus label compatibility
  • Real-time log tailing
  • Single binary mode

Grafana Loki README

Loki Logo

Check Go Report Card Slack Fuzzing Status

Loki: like Prometheus, but for logs.

Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. It does not index the contents of the logs, but rather a set of labels for each log stream.

Grafana Loki releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Logging

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…