# Minimal single-binary Loki config โ€” local filesystem storage, no external dependency, sized # for this deployment (a handful of services' logs, not internet-scale ingestion). # Retention is set here, not left to grow forever โ€” see docs/OBSERVABILITY.md ยง"retention." auth_enabled: false server: http_listen_port: 3100 common: path_prefix: /loki storage: filesystem: chunks_directory: /loki/chunks rules_directory: /loki/rules replication_factor: 1 ring: kvstore: store: inmemory schema_config: configs: - from: 2024-01-01 store: tsdb object_store: filesystem schema: v13 index: prefix: index_ period: 24h limits_config: retention_period: 720h # 30 days โ€” matches Prometheus's default retention (production.yml var) compactor: working_directory: /loki/compactor retention_enabled: true