PreserveCase
Controls whether the case of fromhost is preserved.
This parameter applies to imtcp: TCP Syslog Input Module.
- Name:
PreserveCase
- Scope:
module, input
- Type:
boolean
- Default:
module=on, input=module parameter
- Required?:
no
- Introduced:
8.37.0
Description
This parameter controls the case in fromhost. If PreserveCase is set to
“off”, rsyslog normalizes the resolved host name to lowercase, e.g.,
host1.example.org when the message was received from
Host1.Example.Org. The default is “on” for backward compatibility.
The same-named input parameter can override this module setting.
Module usage
module(load="imtcp" preserveCase="off")
Input usage
input(type="imtcp" port="514" preserveCase="off")
See also
See also imtcp: TCP Syslog 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.