loki-config-generator

Generate Grafana Loki YAML configs and Helm values for deployment modes.

1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/devkeni/Skills --skill loki-config-generator-devkeni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loki-config-generator
Source: https://github.com/devkeni/Skills/tree/main/backend-devops/loki-config-generator
Command: npx skills add https://github.com/devkeni/Skills --skill loki-config-generator-devkeni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Generates production-ready Grafana Loki configurations for multiple deployment modes (monolithic, simple-scalable, microservices) with storage backends (filesystem, S3, GCS, Azure), plus optional features like Thanos, OTLP, and time sharding, delivering ready-to-deploy YAML and Helm values.

Core Features & Use Cases

  • Create complete Loki configurations (schema_config, limits_config, ingester, querier, compactor) across deployment modes with multiple object stores.
  • Support Thanos-backed storage, OTLP ingestion, time sharding, per-tenant ruler, and TLS-ready defaults for production readiness.
  • Output both native Loki configs and Helm values for Kubernetes deployments, with CLI options for dry-run and feature toggles.

Quick Start

Run the generator with mode simple-scalable and storage s3 to produce a production-ready Loki YAML config and Helm values.

Frequently Asked Questions about loki-config-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a production-ready Loki configuration for simple-scalable deployment with S3 storage?

To generate a production Loki configuration, you can use the loki-config-generator to render native YAML and Helm values for simple-scalable deployment mode with S3 storage, including schema validation and TLS-ready defaults.

Does Loki support TSDB v13 schemas with multi-tenant configurations and OTLP ingestion?

Loki configurations generated by this tool explicitly support TSDB v13 schemas, multi-tenant setups, and optional OTLP ingestion, rendering the necessary limits and ingester settings for production readiness.

What is the best way to configure Loki Helm values for Kubernetes deployments using Thanos-based object storage?

Generating Loki Helm values for Kubernetes is automated by this tool, which supports Thanos-based object storage and renders ready-to-deploy Helm values alongside native Loki YAML configs with schema validation.

Can I use this Loki config generator for microservices deployment mode across multiple storage backends like GCS and Azure?

Yes, you can generate Loki configurations for the microservices deployment mode across multiple storage backends including GCS and Azure, complete with support flags for rulers and pattern ingesters.

How do I add time sharding and per-tenant ruler configurations to a Loki YAML config?

Generating Loki YAML configs with time sharding and per-tenant ruler configurations is handled by the generator, which applies CLI feature toggles to render these optional production features directly into the output.

What are the limitations of generating Loki configs for monolithic deployment mode with filesystem storage?

The generator supports monolithic deployment mode with filesystem storage, but production readiness for this configuration relies on applying the included TLS-ready defaults and schema validation rather than distributed object storage.