permit.squareBracketsInHostname¶
Accept hostnames enclosed in []
.
This parameter applies to pmrfc3164: Parse RFC3164-formatted messages.
- Name:
permit.squareBracketsInHostname
- Scope:
module
- Type:
boolean
- Default:
module=off
- Required?:
no
- Introduced:
at least 8.x, possibly earlier
Description¶
This option allows hostnames wrapped in square brackets to be parsed without the brackets.
Module usage¶
parser(name="custom.rfc3164" type="pmrfc3164" permit.squareBracketsInHostname="on")
Notes¶
Legacy docs referred to this as a
binary
option, which maps to a boolean.
See also¶
See also pmrfc3164: Parse RFC3164-formatted messages.
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.