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
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.pywith 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 -yInstalls 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.alloyfor the Alloy pipeline andexamples/grafana-alloy-daemonset.yamlfor 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- Ansible Validator1.9K
- Terragrunt Generator1.3K
- Ansible Generator976
- K8s Debug958
- Jenkinsfile Generator914
- Dockerfile Validator834
- Bash Script Validator788
- Dockerfile Generator785
- Gitlab Ci Validator771
- K8s Yaml Validator765
- Helm Validator762
- Bash Script Generator754
- Jenkinsfile Validator752
- Terragrunt Validator747
- K8s Yaml Generator737
- Github Actions Validator734
- Azure Pipelines Generator733
- Gitlab Ci Generator728
- Github Actions Generator727
- Terraform Generator726
- Azure Pipelines Validator723
- Terraform Validator723
- Helm Generator717
- Makefile Validator711
Similar to Loki Config Generator
More DevOps & Cloudlogql-generatorakin-ozer/cc-devops-skills682 installsGenerates LogQL queries, stream selectors, metric queries, and Loki alerting rules through a staged intake workflow.
fluentbit-generatorakin-ozer/cc-devops-skills679 installsGenerates Fluent Bit INPUT, FILTER, OUTPUT, and parser configs through a guided pipeline with manual fallback.
lokigrafana/skills9K installsLog query language and aggregation system that indexes labels only, not full log text, for cheaper searching.
log-aggregationaj-geddes/useful-ai-prompts455 installsCentralized logging guide covering ELK Stack, Loki, and Splunk for collection, parsing, storage, and analysis.
mimirgrafana/skills5.2K installsStand up Grafana Mimir for multi-tenant, long-term Prometheus and OTLP metrics storage at scale.
grafana-dashboardswshobson/agents13.9K installsProduction Grafana dashboard design with RED and USE layouts, panel types, variables, and provisioning.