Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

[Bug] Loki Failed to Parse Configuration #215

@arunksoman

Description

@arunksoman

I was trying to use docker-compose-multirole.yml for deployment. But the loki was throwing following error:

$ sudo docker logs loki
failed parsing config: /etc/loki/local-config.yaml: yaml: unmarshal errors:
line 38: field enforce_metric_name not found in type validation.plain
line 43: field max_look_back_period not found in type config.ChunkStoreConfig. Use `-config.expand-env=true` flag if you want to expand environment variables in your config file

I believe for newer versions of loki parameters are incorrect.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions