compression.maxDecompressedBytesPerReceive

Limits decompressed bytes accepted from one compressed TCP receive operation.

This parameter applies to imtcp: TCP Syslog Input Module.

Name:

compression.maxDecompressedBytesPerReceive

Scope:

input/module

Type:

integer

Default:

input=67108864

Required?:

no

Introduced:

8.2606.0

Description

compression.maxDecompressedBytesPerReceive limits how many decompressed bytes imtcp accepts from one compressed TCP receive operation when compression.mode="stream:always" is enabled. The default is 64 MiB.

If the limit is exceeded, imtcp logs the compressed stream as invalid and closes the session. Already accepted data from earlier receive operations is not affected. Set the value to 0 to disable this limit for tightly controlled deployments that need a larger decompression burst.

Input usage

input(
    type="imtcp"
    port="514"
    compression.mode="stream:always"
    compression.maxDecompressedBytesPerReceive="134217728"
)

See also

See also compression.mode, compression.maxExpansionRatio, and imtcp: TCP Syslog Input Module.


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.