Skip to content

Commit

Permalink
docs(promtail): Add group permission note for journal (#16027)
Browse files Browse the repository at this point in the history
Signed-off-by: axi92 <[email protected]>
Co-authored-by: J Stickler <[email protected]>
(cherry picked from commit a2a603a)
  • Loading branch information
axi92 authored and grafana-delivery-bot[bot] committed Jan 31, 2025
1 parent d9a8e76 commit d72db6e
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 d72db6e

Please sign in to comment.