Name

Sets the value for the inputname property.

This parameter applies to imtcp: TCP Syslog Input Module.

Name:

Name

Scope:

input

Type:

string (see String Constants)

Default:

input=imtcp

Required?:

no

Introduced:

at least 5.x, possibly earlier

Description

Sets a name for the inputname property. If no name is set, imtcp is used by default. Setting a name is not strictly necessary but can be useful to filter based on which input received the message.

Input usage

input(type="imtcp" name="tcp1" port="514")

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

  • $InputTCPServerInputName — maps to Name (status: legacy)

See also

See also imtcp: TCP 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.