Skip to content

Grafana Loki

Log aggregation system for teams that already run Grafana and want cheap log storage

Copyleft (OSI) · AGPL-3.0

Listed by , founder & editor

82

Health

Thriving

Overview

Stars

29,234

Last commit

today

Nov 2026

Repository age

8 years

since Apr 2018

Latest version

v3.7.10

Nov 2026

Contributors

–

19 active in 90 days

Releases

22

last 12 months

Language

Go

Grafana Loki is a log aggregation system. It collects log lines from your servers and applications, stores them, and lets you search them through Grafana. It is built by the Grafana project and licensed under AGPL-3.0.

Loki is designed around labels, the same way Prometheus handles metrics. You query logs by label and then filter the matching lines, instead of building a full-text index of every line. That approach is why people use it when they want to keep large log volumes without running a heavy search cluster.

You can self-host it. It fits teams that already use Grafana dashboards and want logs next to metrics in one place. It is an open source option for people who now pay for hosted log management products, though no specific product is matched here.

Who it's for

Teams already running Grafana and Prometheus

Logs show up in the same Grafana interface as your metrics, so you can move from a graph to the related log lines.

Skip if: You need full-text search across every field of every log line; a full-text indexing engine suits that better.

Platform engineers self-hosting observability

You can run it on your own infrastructure and keep log data in your own storage.

Skip if: You do not want to operate any logging infrastructure; a hosted service removes that work.

The problem it solves

Hosted log management can get expensive as log volume grows, and full-text indexing systems are costly to run. You need a way to store and search logs on your own infrastructure without a large operational footprint.

Strengths

  • Self-hostable under AGPL-3.0
  • Queries by label, which keeps indexing small
  • Works with Grafana for viewing logs beside metrics
  • Large community with about 29,000 GitHub stars

Trade-offs

  • AGPL-3.0 adds obligations if you modify it and offer it as a network service
  • Label-based design is less suited to ad hoc full-text search
  • Works best alongside Grafana, so you may need that stack too

Grafana Loki replaces

Self-host Grafana Loki

Self-hostable
Yes

Frequently asked questions

Is Grafana Loki free?

Yes. The source is released under AGPL-3.0 and you can run it yourself.

Can I self-host it?

Yes. It is built to be self-hosted on your own servers.

How is it licensed?

It uses AGPL-3.0, an OSI-approved copyleft license.

Other Splunk alternatives

Compare all 8 Splunk alternatives →

Similar tools in Log management tools

Logstash

Log management tools

15k 3.5k today Thriving Apache-2.0

ngxtop

Log management tools

Command-line tool that shows live nginx traffic stats from your access log

6.5k 470 9 months ago Dormant MIT

logdy-core

Log management tools

Single-binary log viewer that shows piped or tailed logs in a local web UI

2.3k 76 15 months ago Dormant Apache-2.0

VictoriaLogs

Log management tools

Schema-free log database that scales from one node to a cluster

2.5k 218 today Thriving Apache-2.0

Replaces Splunk

Matano

Log management tools

Serverless security data lake on AWS for teams that write detections as code

1.7k 121 2 years ago Dormant Apache-2.0

nerdlog

Log management tools

Terminal log viewer that queries many Linux hosts over SSH, with a timeline histogram

1.6k 41 2 months ago Active BSD-2-Clause