KeepAlive.Time¶
Sets the interval between last data and first keepalive probe.
This parameter applies to imtcp: TCP Syslog Input Module.
- Name:
KeepAlive.Time
- Scope:
module, input
- Type:
integer
- Default:
module=0, input=module parameter
- Required?:
no
- Introduced:
at least 5.x, possibly earlier
Description¶
The interval between the last data packet sent (simple ACKs are not considered data) and the first keepalive probe; after the connection is marked to need keepalive, this counter is not used any further. The default, 0, means that the operating system defaults are used. This has only effect if keep-alive is enabled. The functionality may not be available on all platforms.
The same-named input parameter can override this module setting.
Module usage¶
module(load="imtcp" keepAlive.time="...")
Input usage¶
input(type="imtcp" port="514" keepAlive.time="...")
Legacy names (for reference)¶
Historic names/directives for compatibility. Do not use in new configs.
$InputTCPServerKeepAlive_time — maps to KeepAlive.Time (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.