Compression.mode¶
Selects decompression mode matching compression used by omfwd.
This parameter applies to imptcp: Plain TCP Syslog.
- Name:
Compression.mode
- Scope:
input
- Type:
word
- Default:
input=none
- Required?:
no
- Introduced:
at least 5.x, possibly earlier
Description¶
This is the counterpart to the compression modes set in
omfwd.
imptcp accepts the following values:
none- do not attempt stream decompression.stream:always- treat the full TCP byte stream as a zlib-compressed stream generated by omfwd withcompression.mode="stream:always".
This receive path is a fixed-policy implementation:
it uses streaming zlib decompression during normal receives,
it performs a final decompression drain when the TCP session closes,
it is compatible with sender-side
compression.stream.flushOnTXEnd="on"and"off",it logs malformed or truncated compressed streams and closes the session.
imptcp does not support the sender-side single compression mode here.
Input usage¶
input(type="imptcp" compression.mode="stream:always")
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–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.