# keepAlive.time

Controls how long a connection stays idle before the first keep-alive probe is sent.

This parameter applies to imrelp: RELP Input Module.

Name:

  keepAlive.time

Scope:

  input

Type:

  integer

Default:

  input=0

Required?:

  no

Introduced:

  Not documented

## 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 with keep-alive, this counter is not used any further. The default, 0, means that the operating system defaults are used. This only has an effect if keep-alive is enabled. The functionality may not be available on all platforms.

## Input usage

    input(type="imrelp" port="2514" keepAlive="on" keepAlive.time="600")

## See also

See also imrelp: RELP 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.