tcp_user_timeout

Default: 0

Type: integer

Description:

Sets the TCP_USER_TIMEOUT socket option, in milliseconds, for TCP-based omfwd connections. A value of 0 leaves the operating system default unchanged. This option is independent of TCP keepalive and may not be available on all platforms.

Added in version 8.2608.0.

Examples

RainerScript:

action(type="omfwd"
       target="central.example.net"
       port="6514"
       protocol="tcp"
       tcp_user_timeout="10000")

YAML:

actions:
  - type: omfwd
    target: central.example.net
    port: 6514
    protocol: tcp
    tcp_user_timeout: 10000

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.