From a2a603a00bc43dffb40cab5e9804933ddb55f730 Mon Sep 17 00:00:00 2001 From: axi92 Date: Fri, 31 Jan 2025 21:07:54 +0100 Subject: [PATCH] docs(promtail): Add group permission note for journal (#16027) Signed-off-by: axi92 Co-authored-by: J Stickler --- docs/sources/send-data/promtail/configuration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/sources/send-data/promtail/configuration.md b/docs/sources/send-data/promtail/configuration.md index 0cd4d4eccc431..2d768f22f3667 100644 --- a/docs/sources/send-data/promtail/configuration.md +++ b/docs/sources/send-data/promtail/configuration.md @@ -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