From 4df168f5abb4cfb576205deff7fb17e809343438 Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Mon, 15 Jun 2026 15:38:43 +0900 Subject: [PATCH] docs: clarify that `path` must be a directory The `path` parameter is passed to the systemd-journal gem's `:path` option, which opens journal files in a directory only. A glob or individual file (e.g. `/var/log/journal/*.journal`) does not work and fails silently with no logs read. Signed-off-by: Shizuo Fujita --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f359706..0bee6ba 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,9 @@ If you are upgrading to version 1.0 from a previous version of this plugin take **`path`** -Path to the systemd journal, defaults to `/var/log/journal` +Path to the systemd journal **directory**, defaults to `/var/log/journal`. + +This must be a directory, not an individual file or a glob pattern — for example, `/var/log/journal/*.journal` will not work. All journal files in the given directory are read automatically. **`filters`**