Skip to content

promtail: "matches" directive missing from journal documentation #13516

Open
@lethargosapatheia

Description

@lethargosapatheia

Is your feature request related to a problem? Please describe.
Incomplete documentation in promtail related to journal.

Describe the solution you'd like
Add the matches directive in the journal section of promtail, i.e. https://grafana.com/docs/loki/latest/send-data/promtail/configuration/#journal

Also add information about how matches works, meaning, adding keys-values separated by spaces should work, e.g.:

_SYSTEMD_UNIT=lxc.service _SYSTEMD_UNIT=some_other.service

The matches directive is partially documented here:
https://grafana.com/docs/loki/latest/send-data/promtail/scraping/#journal-scraping-linux-only

Describe alternatives you've considered
Irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions