file¶
Specifies the absolute filesystem path of the named pipe (FIFO) to read log messages from.
This parameter applies to imfifo: Named Pipe Input Module.
- Name:
file
- Scope:
input
- Type:
string (see Rsyslog Parameter String Constants)
- Default:
none
- Required?:
yes
- Introduced:
8.2606.0
Description¶
The path to the named pipe (FIFO) to be monitored. This must be an absolute path. The FIFO must exist on the filesystem before Rsyslog starts; imfifo will not attempt to create it. If the file does not exist or is not a FIFO, an error will be reported at startup and the input instance will not be activated.
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.