MaintenanceProductMonitoring & Infrastructure

Grafana Loki Alloy Log Platform

Central log platform using Grafana, Loki and Alloy to collect, search, and analyze Docker application logs.

A centralized logging stack for the user’s VPS, combining Grafana dashboards, Loki log storage and Alloy Docker log collection. It was configured through Docker Compose with private network access, datasource provisioning and a public HTTPS endpoint. The stack helps diagnose failures across multiple containers without manually opening each application log.

Selected capabilities

  • Central Docker log collection
  • Container, image and service labels
  • Loki storage and query endpoint
  • Grafana Explore and dashboards
  • Provisioned Loki datasource
  • Private container networking
  • Persistent Grafana/Loki/Alloy volumes
  • Asia/Jakarta timezone configuration

Outcomes

  • Central Docker log collection
  • Container, image and service labels
  • Loki storage and query endpoint
  • Grafana Explore and dashboards
  • Provisioned Loki datasource
  • Private container networking
Implementation notes: Grafana · Loki 3.7 · Grafana Alloy · Docker Compose · Docker socket discovery · CloudPanel/Nginx · HTTPS · Ubuntu · Readiness 91%