# flushInterval

Defines, in seconds, the interval after which unwritten data is flushed.

This parameter applies to omfile: File Output Module.

Name:

  flushInterval

Scope:

  action

Type:

  integer

Default:

  action=1

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Defines, in seconds, the interval after which unwritten data is flushed.

## Action usage

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

### Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

- $OMFileFlushInterval — maps to flushInterval (status: legacy)

## 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.