Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion docs/reference/filebeat/filebeat-input-journald.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,36 @@ filebeat.inputs:

### `paths` [filebeat-input-journald-paths]

A list of paths that will be crawled and fetched. Each path can be a directory path (to collect events from all journals in a directory), or a file path. If you specify a directory, Filebeat merges all journals under the directory into a single journal and reads them.
A list of paths that will be crawled and fetched. Each path can be a
directory path (to collect events from all journals in a directory),
or a file path. If you specify a directory, Filebeat merges all
journals under the directory into a single journal and reads them.

If no paths are specified, Filebeat reads from the default journal.

```yaml
- type: journald
id: journald-id
paths:
- /var/log/journal
```

Will ingest all journals and correctly handle the journald rotation.

Specifying a directory is only supported on versions
- `9.0.8`
- `>= 9.1.5`

:::{warning}
If a glob (e.g.: `/var/log/journal/*/*.journal` is used, the journald
input will only ingest the journal files found when started. New
files will not be ingested.
:::





### `merge` [filebeat-input-journald-merge]
```{applies_to}
stack: ga 9.2.0
Expand Down
Loading