listenPortFileName¶
Write the actual bound port to a file after an imbeats listener starts.
This parameter applies to imbeats: Beats v2 input module.
- Name:
listenPortFileName
- Scope:
input
- Type:
string
- Default:
input=none
- Required?:
no
- Introduced:
8.2604.0
Description¶
Write the actual bound port to a file after an imbeats listener starts.
Production configurations normally use a fixed Beats listener port such as
5044. Dynamic port allocation with port="0" is intended for testbench
and automation scenarios that need to discover an ephemeral listener port.
Input usage¶
input(type="imbeats" port="5044" listenPortFileName="/run/rsyslog/imbeats.port")
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.