📜
Monitoring & Observability

Grafana Loki

Log aggregation system — like Prometheus but for logs

🐧 Linux🍎 Mac🪟 Windows
Reviewed: Tested on: Kubernetes 1.29 · Terraform 1.8 · Ubuntu 22.04

What is this?

Loki collects logs from your apps and works alongside Grafana for searching them.

📁

Config files for Grafana Loki

Where to create or edit the main configuration — paths below match the setup steps.

  • loki-config.yaml

    Location: Loki server or container

    Storage, retention, and scrape config

📥

Step 01

Install Grafana Loki

(01)Install Grafana Loki

Linux
1docker run -d --name loki -p 3100:3100 grafana/loki:latest

Step 02

Verify

(01)Verify installation

Linux
1curl http://localhost:3100/ready