Namespace¶
Reads entries from a specific systemd journal namespace.
This parameter applies to imjournal: Systemd Journal Input Module.
- Name:
Namespace
- Scope:
module
- Type:
string (see Rsyslog Parameter String Constants)
- Default:
module=unset
- Required?:
no
- Introduced:
8.2608.0
Description¶
When set, imjournal opens the named systemd journal namespace instead of
the default system journal namespace. This is useful with services that use
systemd’s LogNamespace= setting and should be processed by a dedicated
imjournal configuration.
Namespace uses the systemd sd_journal_open_namespace() API. If rsyslog
is built against a libsystemd version that does not provide that API, the
configuration fails with an explicit error.
This option is mutually exclusive with Remote.
Module usage¶
module(load="imjournal" Namespace="my-service")
See also¶
See also imjournal: Systemd Journal Input Module.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.