Grafana Loki

Cost-effective log aggregation, like Prometheus for logs.

Last reviewed 5 December 2026 · AGPL-3.0 · Backend, Hosting & Auth

Licence
Type
Self-hosted
GitHub stars
★ 29.3k
Last commit
December 2026
First release
2018
Hosted version
Available

What is Grafana Loki?

Loki stores logs cheaply in object storage and indexes only their labels. You query logs with LogQL in Grafana, next to your metrics and traces.

Key features

  • Index only labels
  • Object storage backend
  • LogQL queries
  • Grafana integration

Grafana Loki as an open source alternative

Grafana Loki is listed on 2 of our comparison pages as an open source replacement for Datadog and Splunk. Compare it with the other options:

Licence

Grafana Loki is released under the AGPL-3.0 licence, a strong copyleft (network) licence. More AGPL-3.0 software →

Grafana Loki: FAQ

Is Grafana Loki open source?

Yes. Grafana Loki is released under the AGPL-3.0 licence (strong copyleft (network)), and its source code is public.

Is Grafana Loki free?

The software is free to use and self-host. Grafana Loki also offers an official hosted or cloud version, which may have paid plans.

What does Grafana Loki replace?

Grafana Loki is an open source alternative to Splunk and Datadog.

Can I self-host Grafana Loki?

Yes. Grafana Loki is a server application you can install on your own server or VPS, usually with Docker.

Similar open source projects

Supabase

Apache-2.0116k

The Postgres development platform.

Replaces Firebase

Self-hostedCloud option
Self-hostedBackend, Hosting & Auth

Grafana

AGPL-3.078.5k

The open observability platform for dashboards.

Replaces Datadog, New Relic

Self-hostedCloud option
Self-hostedBackend, Hosting & Auth

frp

Apache-2.0111k

Fast reverse proxy to expose local servers.

Replaces ngrok

Self-hosted
Self-hostedBackend, Hosting & Auth

Netdata

GPL-3.081.8k

Real-time, per-second infrastructure monitoring.

Replaces Datadog, New Relic

Self-hostedCloud option
Self-hostedBackend, Hosting & Auth

Strapi

MIT73.7k

The leading open source headless CMS.

Replaces Contentful

Self-hostedCloud option
Self-hostedBackend, Hosting & Auth

More AGPL-3.0 projects

Nextcloud

AGPL-3.037.7k

Self-hosted file sync, sharing and collaboration.

Replaces Google Drive, Dropbox, Microsoft OneDrive, Apple iCloud

Self-hostedCloud option
Self-hostedCloud Storage & Photos

Signal

AGPL-3.029.7k

The most trusted private messenger.

Replaces WhatsApp

Cloud option
Mobile appTeam Chat & Messaging

Immich

AGPL-3.0121k

Self-hosted photo and video backup like Google Photos.

Replaces Google Photos, Apple iCloud

Self-hosted
Self-hostedCloud Storage & Photos

ONLYOFFICE Docs

AGPL-3.07.2k

Office suite with the closest Microsoft Office compatibility.

Replaces Microsoft Office, Google Docs, Microsoft Word, Microsoft Excel

Self-hostedCloud option
Self-hostedOffice & PDF

Mastodon

AGPL-3.050.7k

Decentralised social network, not for sale.

Replaces X (Twitter), Threads

Self-hostedCloud option
Self-hostedSocial Networks

Element

AGPL-3.013.7k

Secure messenger built on the Matrix protocol.

Replaces Slack, Microsoft Teams, Discord, WhatsApp

Self-hostedCloud option
Self-hostedTeam Chat & Messaging
Browse 350+ open source alternativesSearch by product, category or licence