NotifyOnConnectionClose

Emits a message when a remote peer closes the connection.

This parameter applies to imptcp: Plain TCP Syslog.

Name:

NotifyOnConnectionClose

Scope:

input

Type:

boolean

Default:

input=off

Required?:

no

Introduced:

at least 5.x, possibly earlier

Description

Instructs imptcp to emit a message if a remote peer closes the connection.

Input usage

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

Legacy names (for reference)

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

  • $InputPTCPServerNotifyOnConnectionClose — maps to NotifyOnConnectionClose (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.