SysSock.UsePIDFromSystem

Obtains the logged PID from the log socket itself.

This parameter applies to imuxsock: Unix Socket Input Module.

Name:

SysSock.UsePIDFromSystem

Scope:

module

Type:

boolean

Default:

module=off

Required?:

no

Introduced:

5.7.0

Description

Specifies if the pid being logged shall be obtained from the log socket itself. If so, the TAG part of the message is rewritten. It is recommended to turn this option on, but the default is “off” to keep compatible with earlier versions of rsyslog.

Module usage

module(load="imuxsock" sysSock.usePIDFromSystem="on")

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs. .. _imuxsock.parameter.legacy.systemlogusepidfromsystem:

  • $SystemLogUsePIDFromSystem — maps to SysSock.UsePIDFromSystem (status: legacy)

See also

See also imuxsock: Unix Socket Input Module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.