# SupportOctetCountedFraming

Enables legacy octet-counted framing similar to RFC5425.

This parameter applies to imptcp: Plain TCP Syslog.

Name:

  SupportOctetCountedFraming

Scope:

  input

Type:

  boolean

Default:

  input=on

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

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

## Input usage

    input(type="imptcp" supportOctetCountedFraming="...")

### Legacy names (for reference)

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

- $InputPTCPServerSupportOctetCountedFraming — maps to SupportOctetCountedFraming (status: legacy)

## See also

See also imptcp: Plain TCP Syslog.

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.