UsePidFromSystem#

Use _PID instead of SYSLOG_PID as the process identifier.

This parameter applies to imjournal: Systemd Journal Input Module.

Name:

UsePidFromSystem

Scope:

module

Type:

boolean

Default:

module=off

Required?:

no

Introduced:

at least 8.x, possibly earlier

Description#

Retrieves the trusted _PID field from the journal instead of SYSLOG_PID. This option overrides UsePid and is deprecated; use UsePid="system" for equivalent behavior.

Module usage#

module(load="imjournal" UsePidFromSystem="...")

Notes#

  • Legacy documentation referred to this as a binary option.

  • Deprecated; prefer UsePid.

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.