sortFiles

Processes files in sorted order when enabled.

This parameter applies to imfile: Text File Input Module.

Name:

sortFiles

Scope:

module

Type:

boolean

Default:

module=off

Required?:

no

Introduced:

8.32.0

Description

If this parameter is set to on, the files will be processed in sorted order. Due to the inherent asynchronicity of the operations involved in tracking files, it is not possible to guarantee this sorted order, as it also depends on operation mode and OS timing.

Module usage

module(load="imfile" sortFiles="on")

Notes

  • Legacy documentation used the term binary for the type. It is treated as boolean.

See also

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