facility

Specifies the syslog facility to apply to messages read from this named pipe (FIFO).

This parameter applies to imfifo: Named Pipe Input Module.

Name:

facility

Scope:

input

Type:

facility (word/integer)

Default:

local0

Required?:

no

Introduced:

8.2606.0

Description

The syslog facility to be assigned to all messages read from this named pipe. It can be specified in textual form (for example local0) or as a number (for example 16). Textual form is recommended.

Input usage

input(type="imfifo"
      file="/var/log/myfifo"
      tag="fifo-logs:"
      facility="local4")

See also

See also imfifo: Named Pipe 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.