DefaultFacility¶
Syslog facility assigned to received messages; default user.
This parameter applies to imdocker: Docker Input Module.
- Name:
DefaultFacility
- Scope:
module
- Type:
string (see Rsyslog Parameter String Constants)
- Default:
module=user
- Required?:
no
- Introduced:
8.41.0
Description¶
The syslog facility to be assigned to log messages. Standard facility names
such as kern, user, mail, daemon, and local0 through
local7 are accepted without regard to case. Textual names are recommended.
Numeric strings are facility ordinals, not PRI-encoded facility values.
For example, DefaultFacility="user" and DefaultFacility="1" both
select facility 1, while DefaultFacility="8" selects facility 8.
Similarly, "mail" selects facility 2 and "16" selects facility 16
(local0). The facility contribution to a message PRI is the ordinal
multiplied by 8; the severity is then added. Keep numeric values quoted in
RainerScript, as in these examples.
Module usage¶
module(load="imdocker" DefaultFacility="...")
Notes¶
Numeric facility values are accepted but textual names are recommended.
See also¶
See also imdocker: Docker 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.