Port¶
Port or array of ports for the UDP listener.
This parameter applies to imudp: UDP Syslog Input Module.
- Name:
Port
- Scope:
input
- Type:
array[string]
- Default:
input=514
- Required?:
yes
- Introduced:
at least 5.x, possibly earlier
Description¶
Specifies the port the server shall listen to. Either a single port can be specified or an array of ports. If multiple ports are specified, a listener will be automatically started for each port. Thus, no additional inputs need to be configured.
Examples:
module(load="imudp") # needs to be done just once
input(type="imudp" port="514")
module(load="imudp")
input(type="imudp" port=["514","515","10514"])
Input usage¶
input(type="imudp" Port="...")
Legacy names (for reference)¶
Historic names/directives for compatibility. Do not use in new configs.
$UDPServerRun — maps to Port (status: legacy)
See also¶
See also imudp: UDP Syslog Input Module.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.