workerThreads

Set how many worker threads an imbeats listener uses to process client sessions.

This parameter applies to imbeats: Beats v2 input module.

Name:

workerThreads

Scope:

input

Type:

positive integer

Default:

input=2

Required?:

no

Introduced:

8.2606.0

Description

Set the number of worker threads used by this imbeats listener. A value of 1 keeps processing single-threaded. Higher values allow multiple client sessions to be processed in parallel when the platform and stream layer support session multiplexing.

Increasing this value can improve throughput for many active senders, but each worker consumes system resources. Avoid setting it higher than the expected active sender count or available CPU capacity.

Input usage

input(type="imbeats" port="5044" workerThreads="4")

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.