SupportOctetCountedFraming

Enables legacy octet-counted framing compatibility.

This parameter applies to imtcp: TCP Syslog Input Module.

Name:

SupportOctetCountedFraming

Scope:

input

Type:

boolean

Default:

input=on

Required?:

no

Introduced:

at least 5.x, possibly earlier

Description

If set to on, the legacy octet-counted framing (similar to RFC5425 framing) is activated. This should be left unchanged until you know very well what you do. It may be useful to turn it off if this framing is not used and some senders emit multi-line messages into the message stream.

Input usage

input(type="imtcp" supportOctetCountedFraming="off")

Notes

  • Earlier documentation described the type as “binary”; this maps to boolean.

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

  • $InputTCPServerSupportOctetCountedFraming — maps to SupportOctetCountedFraming (status: legacy)

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–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.