# interval

Configures how often, in seconds, impstats emits statistics messages.

This parameter applies to impstats: Generate Periodic Statistics of Internal Counters.

Name:

  interval

Scope:

  module

Type:

  integer (seconds)

Default:

  module=300

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Sets the interval, in seconds, at which messages are generated. Please note that the actual interval may be a bit longer. We do not try to be precise and so the interval is actually a sleep period which is entered after generating all messages. So the actual interval is what is configured here plus the actual time required to generate messages. In general, the difference should not really matter.

## Module usage

    module(load="impstats" interval="600")

## See also

See also impstats: Generate Periodic Statistics of Internal Counters.

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.