Skip to content

Commit

Permalink
docs(promtail): Add group permission note for journal (backport relea…
Browse files Browse the repository at this point in the history
…se-3.1.x) (#16036)

Co-authored-by: axi92 <axi92@users.noreply.github.com>
  • Loading branch information
loki-gh-app[bot] and axi92 authored Jan 31, 2025
1 parent 8f00de9 commit 3658f9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/sources/send-data/promtail/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,9 @@ replace:
The `journal` block configures reading from the systemd journal from
Promtail. Requires a build of Promtail that has journal support _enabled_. If
using the AMD64 Docker image, this is enabled by default.
using the AMD64 Docker image, this is enabled by default. On some systems a
permission is needed for the user promtail to access journal logs.
For Ubuntu (24.04) you need to add `promtail` to the group `systemd-journal` with `sudo usermod -a -G systemd-journal promtail`.

```yaml
# When true, log messages from the journal are passed through the
Expand Down

0 comments on commit 3658f9f

Please sign in to comment.