interval¶
Sets how many seconds elapse between each write of sender statistics to the state file.
This parameter applies to omsendertrack: Sender Tracking Output Module.
- Name:
interval
- Scope:
input
- Type:
integer
- Default:
input=60
- Required?:
no
- Introduced:
8.2506.0 (Proof-of-Concept)
Description¶
This parameter defines the interval in seconds after which the module writes the current sender statistics to the configured statefile.
A smaller interval value results in more frequent updates to the state
file, reducing potential data loss in case of an unexpected system crash, but
it also increases disk I/O. A larger interval reduces I/O but means less
up-to-date statistics on disk.
Input usage¶
module(load="omsendertrack")
action(type="omsendertrack"
senderId="%hostname%"
interval="60"
stateFile="/var/lib/rsyslog/senderstats.json")
See also¶
See also omsendertrack: Sender Tracking 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.