maxCompressionRatio

Limit how many output bytes a Lumberjack compressed frame may produce per input byte.

This parameter applies to imbeats: Beats v2 input module.

Name:

maxCompressionRatio

Scope:

input

Type:

positive integer

Default:

input=256

Required?:

no

Introduced:

8.2608.0

Description

Set the maximum permitted ratio of decompressed bytes to compressed input bytes. The valid range is 1 to 1000000. A compressed frame is rejected as soon as its decompressed output would exceed the compressed input size multiplied by this value.

This ratio limit is enforced together with maxDecompressedSize and maxInFlightBytes. A frame must satisfy all applicable limits and is not acknowledged when any limit is exceeded.

Input usage

RainerScript:

input(type="imbeats" port="5044" maxCompressionRatio="256")

YAML:

inputs:
  - type: imbeats
    port: 5044
    maxCompressionRatio: 256

See also

See also imbeats: Beats v2 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.