Skip to content

Commit

Permalink
[4.4] Multiple systemd-journal sources are supported
Browse files Browse the repository at this point in the history
  • Loading branch information
eldarnash committed Sep 30, 2023
1 parent 70a2635 commit 45e6ae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@ If you are using RHEL-7, the default source in the configuration is `systemd-jou
Only one `systemd-journal()` source can be configured in the configuration file. If there is more than one `systemd-journal()` source configured, {{% param "product.abbrev" %}} will not start.
{{% /alert %}}


## Declaration:

```shell
systemd-journal(options);
```


If you want to use multiple `systemd-journal()` sources in your configuration, the sources must use unique systemd namespaces. For details, see the [`namespace()` option]({{< relref "/chapter-sources/configuring-sources-journal/reference-source-journal/_index.md#namespace" >}}).

## Example: Send all fields through syslog protocol {#example-source-journal-allfields}

Expand Down
1 change: 1 addition & 0 deletions content/headless/chunk/systemd-journal-namespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The following modes of operation are available:
- If `namespace(<specific-namespace>)` is specified, the `systemd-journal()` source only reads and displays log data from the specified namespace.
- If the namespace identifier is prefixed with `"+"` when you specify your `namespace()` option, the `systemd-journal()` source only reads and displays log data from the specified namespace and the default namespace, interleaved.

Starting with {{% param "product.abbrev" %}} 4.4, you can use multiple `systemd-journal()` sources in your configuration. In this case, each source must use unique systemd namespaces.

*Syntax:* `namespace(string)`

Expand Down

0 comments on commit 45e6ae7

Please sign in to comment.