Name

Value assigned to inputname property for this listener.

This parameter applies to imudp: UDP Syslog Input Module.

Name:

Name

Scope:

input

Type:

word

Default:

input=imudp

Required?:

no

Introduced:

8.3.3

Description

Specifies the value of the inputname property. In older versions, this was always imudp for all listeners, which still is the default. Starting with 7.3.9 it can be set to different values for each listener. Note that when a single input statement defines multiple listener ports, the inputname will be the same for all of them. If you want to differentiate in that case, use name.appendPort to make them unique. Note that the name parameter can be an empty string. In that case, the corresponding inputname property will obviously also be the empty string. This is primarily meant to be used together with name.appendPort to set the inputname equal to the port.

Examples:

module(load="imudp")
input(type="imudp" port=["10514","10515","10516"]
      name="udp" name.appendPort="on")
module(load="imudp")
input(type="imudp" port=["10514","10515","10516"]
      name="" name.appendPort="on")

Input usage

input(type="imudp" Name="...")

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.