closeTimeout

Specifies after how many minutes of inactivity a file is automatically closed.

This parameter applies to omfile: File Output Module.

Name:

closeTimeout

Scope:

action

Type:

integer

Default:

action=File: 0 DynaFile: 10

Required?:

no

Introduced:

8.3.3

Description

Specifies after how many minutes of inactivity a file is automatically closed. Note that this functionality is implemented based on the janitor process. See its doc to understand why and how janitor-based times are approximate.

Action usage

action(type="omfile" closeTimeout="...")

See also

See also omfile: File 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.