Code & Scripts

Grafana Loki Centralized Logging Starter Kit

Ship centralized log aggregation in an afternoon — a Docker Compose Loki + Promtail + Grafana stack, annotated configs, a LogQL cheat sheet, and a 15-page setup guide.

$ tar -tzf grafana-loki-logging-starter-kit.tar.gz
  • docker-compose.yml — Primary deploy stack: Loki 3.4.2 + Grafana Alloy v1.8.3 + Grafana 11.6.0, copy-paste deployable
  • config/alloy-config.alloy — Annotated Alloy pipeline: Docker container log discovery + host /var/log scraping, with RHEL path variants
  • config/loki-config.yaml — Loki server config: single-node filesystem storage, 30-day retention, TSDB schema v13
  • SETUP-GUIDE.md — 8-section guide covering prerequisites, single-server deploy, multi-server Alloy agents (Debian + RHEL/Rocky), firewall config, retention tuning, and troubleshooting
  • LOGQL-CHEATSHEET.md — LogQL quick reference: stream selectors, line filters, metric queries, and real-world recipes
  • dashboards/loki-overview.json — Pre-built Grafana dashboard: log volume, error rate, top containers, recent errors
  • docker-compose.promtail-legacy.yml — Legacy Promtail stack for environments mid-migration
  • config/datasource.yaml — Grafana provisioning: Loki auto-wired as default datasource on first boot
  • .env.example — Port and credential template — copy to .env before deploying
$19

one-time purchase

Instant download after purchase
📧Download link sent to your email
🔄7-day download access
14-day money-back guarantee
View refund policy

## goes-well-with

From the same shelf

## not-ready-to-buy

Take the field notes instead

One practical write-up a week from the same workbench these kits come from — plus reader pricing when new kits ship.