tag

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

This parameter applies to imfifo: Named Pipe Input Module.

Name:

tag

Scope:

input

Type:

string (see Rsyslog Parameter String Constants)

Default:

none

Required?:

yes

Introduced:

8.2606.0

Description

The syslog tag to be assigned to all messages read from this named pipe. The tag is typically used to identify the source of the logs in later filtering or formatting steps.

Input usage

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

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.