maxWindowSize

Limit how many events imbeats accepts in one Lumberjack batch window.

This parameter applies to imbeats: Beats v2 input module.

Name:

maxWindowSize

Scope:

input

Type:

positive integer

Default:

input=8192

Required?:

no

Introduced:

8.2604.0

Description

Set the maximum Lumberjack v2 window size accepted by this imbeats listener. Connections that announce a larger window are rejected as protocol errors.

The window size a Beats client announces is the number of events in its current batch. Beats’ Logstash output defaults bulk_max_size to 2048, but other senders, such as the Elastic Agent, can announce larger windows. The default of this parameter is therefore 8192, which leaves headroom. If you configure larger batches on the senders, set maxWindowSize to at least the same value; otherwise senders with more queued events than maxWindowSize are rejected on every attempt and never get an acknowledgement. The limit only caps the announced event count; memory use is bounded separately by maxBatchBytes and maxInFlightBytes.

Input usage

input(type="imbeats" port="5044" maxWindowSize="8192")

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.