loki-configuration-validation
Loki Configuration Validation
Purpose
A Loki config that is syntactically valid YAML can still be functionally
wrong in ways that only show up after logs start being rejected in
production — a schema_config entry edited in place instead of appended,
a limits_config value copied from a much smaller deployment, or a
retention setting that silently does nothing because the compactor isn't
enabled. This skill covers validating a Loki config before it's
deployed: structural/schema checks via Loki's own -verify-config flag,
a pre-deploy review checklist for the specific fields most likely to
cause silent ingestion rejection, and a lightweight cardinality audit
against a candidate label design. It assumes the config's actual content
decisions (deployment mode, schema/storage choice, retention design) are
made per
loki-log-aggregation-configuration
— this skill is specifically about catching mistakes in that config
before rollout, not about designing it from scratch.