Skip to content

failed parsing config: /etc/loki/config/config.yaml: not a valid duration string: "true". Use -config.expand-env=true flag if you want to expand environment variables in your config file #18159

Open
@emelichev

Description

@emelichev

Describe the bug
Loki does not display on which line and on which symbol the error is

To Reproduce
Steps to reproduce the behavior:

  1. Started Loki grafana/loki:3.5.0
  2. Started Promtail (SHA or version) to tail '...' -not use promtail - Alloy
  3. Query: {} term

Expected behavior
Loki display on which line and on which symbol the error

Environment:

  • Infrastructure: [Kubernetes]
  • Deployment tool: [helm]

Screenshots, Promtail config, or terminal output
deploymentMode: SimpleScalable latest

failed parsing config: /etc/loki/config/config.yaml: not a valid duration string: "true". Use -config.expand-env=true flag if you want to expand environment variables in your config file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions