Skip to content

Chenge default data location to /var/lib/loki #7748

@deadnews

Description

@deadnews
    This config file configures Loki to write to `/tmp/loki`. Not sure if this is the ideal default location, but I think it's good enough for a first iteration.

Originally posted by @chaudum in #6456 (comment)

common:
path_prefix: /tmp/loki
storage:
filesystem:
chunks_directory: /tmp/loki/chunks
rules_directory: /tmp/loki/rules

/tmp is usually mounted as tmpfs. All data will be lost after reboot.
Why not use /var/lib/loki like agent, mimir or grafana?

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/packaginggood first issueThese are great first issues. If you are looking for a place to start, start here!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions