How to Install & Set Up Grafana Loki
Install Grafana Loki for log aggregation that plugs straight into Grafana — the quick way with Docker Compose, or as a single binary.
Prerequisites
- ✓A Linux host with Docker (compose method) or Grafana to visualize logs
Option A — Docker Compose (Loki + Promtail + Grafana)
Option B — Single binary
Verify
In Grafana, add a Loki data source pointing at http://localhost:3100 and explore your logs.
!
Both options above are already distro-agnostic (Docker Compose, or a static Go binary) — no separate RHEL path is needed.
Build from source
Documentation & Knowledge Base
Download Grafana Loki— all versions & official links→Need Grafana Loki deployed and managed for you?
We're OpenStack Dev — we design, deploy, and operate production DevOps infrastructure.