remove.msgFirstSpace

Remove the first space after the tag to improve RFC3164/RFC5424 interoperability.

This parameter applies to pmrfc3164: Parse RFC3164-formatted messages.

Name:

remove.msgFirstSpace

Scope:

module

Type:

boolean

Default:

module=off

Required?:

no

Introduced:

8.2508.0

Description

RFC3164 places a space after the tag. When enabled, this option removes that first space so RFC3164 and RFC5424 messages can mix more easily.

Module usage

parser(name="custom.rfc3164" type="pmrfc3164" remove.msgFirstSpace="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.