Skip to content
akin-ozer avatar

Loki Config Generator

Generate production-ready Grafana Loki server configurations across monolithic, simple-scalable, and microservices modes.

CCM score
54 of 100
skills.sh installs
662
GitHub stars
345
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers ingester, querier, compactor, ruler, and limits tuning, with S3, GCS, Azure, or filesystem storage backends
  • Includes scripts/generate_config.py with options for mode, storage, OTLP ingestion, Thanos storage, time sharding, and zone awareness
  • Enforces TSDB with schema v13 for new deployments, since the schema cannot change after deployment without migration
  • Designed for teams deploying Loki from scratch, migrating to it, or adding multi-tenant logging on Kubernetes or Helm

Install

$ npx -y skills add akin-ozer/cc-devops-skills --skill loki-config-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Loki Configuration Generator

Overview

Generate production-ready Grafana Loki server configurations with best practices. Supports monolithic, simple scalable, and microservices deployment modes with S3, GCS, Azure, or filesystem storage.

Current Stable: Loki 3.6.2 (November 2025) Important: Promtail deprecated in 3.4 - use Grafana Alloy instead. See examples/grafana-alloy.alloy for the Alloy pipeline and examples/grafana-alloy-daemonset.yaml for the Kubernetes deployment.

When to Use

Invoke when: deploying Loki, creating configs from scratch, migrating to Loki, implementing multi-tenant logging, configuring storage backends, or optimizing existing deployments.


Generation Methods

Method 1: Script Generation (Recommended)

Use scripts/generate_config.py for consistent, validated configurations:

# Simple Scalable with S3 (production)
python3 scripts/generate_config.py \
  --mode simple-scalable \
  --storage s3 \
  --bucket my-loki-bucket \
  --region us-east-1 \
  --retention-days 30 \
  --otlp-enabled \
  --output loki-config.yaml

Details

Repository
github.com/akin-ozer/cc-devops-skills
Category
DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the loki-config-generator skill do?

The loki-config-generator skill generates production-ready Grafana Loki server configurations, covering ingester, querier, compactor and ruler settings. It supports monolithic, simple scalable and microservices deployment modes with S3, GCS, Azure or filesystem storage backends.

How do I install the loki-config-generator skill?

Run npx -y skills add akin-ozer/cc-devops-skills --skill loki-config-generator -y in a project to install it. Once installed, loki-config-generator lets the agent build Loki configs for your chosen deployment mode and storage backend.

Which category is loki-config-generator in, and what sets it apart?

loki-config-generator is in the DevOps & Cloud category on Claude Marketplaces, alongside azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. Its focus on Grafana Loki configuration, including TSDB schema, OTLP ingestion and Thanos storage, is what sets it apart from those Azure-focused skills.

Who should use loki-config-generator?

loki-config-generator is for engineers deploying Grafana Loki who need a config written from scratch or migrated to a newer setup. It also suits teams setting up multi-tenant logging or tuning storage backends for an existing Loki deployment.

More from akin-ozer/cc-devops-skills

All 31

Similar to Loki Config Generator

More DevOps & Cloud