closeTimeout

Waits the specified milliseconds for the program to exit after stdin closes.

This parameter applies to omprog: Program integration Output module.

Name:

closeTimeout

Scope:

action

Type:

integer

Default:

action=5000

Required?:

no

Introduced:

8.35.0

Description

Specifies how long rsyslog must wait for the external program to terminate (when either the worker thread has been unscheduled, a restart of the program is being forced, or rsyslog is about to shutdown) after closing the pipe, that is, after sending EOF to the stdin of the child process. The value must be expressed in milliseconds and must be greater than or equal to zero.

See the killUnresponsive parameter for more details.

Action usage

action(type="omprog" closeTimeout="10000")

See also

See also omprog: Program integration Output 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.