NotifyOnConnectionClose

Emits a message when a remote peer closes a connection.

This parameter applies to imtcp: TCP Syslog Input Module.

Name:

NotifyOnConnectionClose

Scope:

module, input

Type:

boolean

Default:

module=off, input=module parameter

Required?:

no

Introduced:

at least 5.x, possibly earlier

Description

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

The same-named input parameter can override this module setting.

Module usage

module(load="imtcp" notifyOnConnectionClose="on")

Input usage

input(type="imtcp" port="514" notifyOnConnectionClose="on")

Legacy names (for reference)

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

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