PersistStateInterval¶
Saves the journal cursor after every N messages.
This parameter applies to imjournal: Systemd Journal Input Module.
- Name:
PersistStateInterval
- Scope:
module
- Type:
integer
- Default:
module=10
- Required?:
no
- Introduced:
at least 5.x, possibly earlier
Description¶
Defines how often the module writes its position in the journal to the state file.
The cursor is saved after each PersistStateInterval
messages so rsyslog resumes
from the last processed entry on restart.
Module usage¶
module(load="imjournal" PersistStateInterval="...")
Legacy names (for reference)¶
$imjournalPersistStateInterval — maps to PersistStateInterval (status: legacy)
See also¶
See also imjournal: Systemd Journal 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.