Name

Sets the inputname property used for tagging messages and statistics.

This parameter applies to imptcp: Plain TCP Syslog.

Name:

Name

Scope:

input

Type:

string

Default:

input=imptcp

Required?:

no

Introduced:

at least 5.x, possibly earlier

Description

Sets a name for the inputname property. If no name is set “imptcp” is used by default. Setting a name is not strictly necessary, but can be useful to apply filtering based on which input the message was received from. Note that the name also shows up in impstats logs.

Input usage

input(type="imptcp" name="...")

Legacy names (for reference)

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

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

See also

See also imptcp: Plain TCP Syslog.


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.