Severity¶
Sets the syslog severity for lines read from the file.
This parameter applies to imfile: Text File Input Module.
- Name:
Severity
- Scope:
input
- Type:
word
- Default:
notice
- Required?:
no
- Introduced:
at least 5.x, possibly earlier
Description¶
The syslog severity to be assigned to lines read. It can be specified in
textual form (for example info
or warning
) or as a number (for
example 6
for info
). Textual form is recommended.
Input usage¶
input(type="imfile" Severity="notice")
Notes¶
See https://en.wikipedia.org/wiki/Syslog for severity numbers.
Legacy names (for reference)¶
Historic names/directives for compatibility. Do not use in new configs.
$InputFileSeverity
— maps to Severity (status: legacy)
See also¶
See also imfile: Text File 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.