maxSessions

Limit how many simultaneous Beats client sessions an imbeats listener accepts.

This parameter applies to imbeats: Beats v2 input module.

Name:

maxSessions

Scope:

input

Type:

positive integer

Default:

input=1000

Required?:

no

Introduced:

8.2606.0

Description

Set the maximum number of simultaneous client sessions accepted by this imbeats listener. When the limit is reached, additional connection attempts are rejected while existing sessions continue to run.

Use this limit to bound file descriptors, per-session memory, and sender fan-in for a listener. Size it for the number of Beats or Elastic Agent senders that may be connected at the same time, including reconnect overlap during restarts.

Input usage

input(type="imbeats" port="5044" maxSessions="500")

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.