# IgnorePreviousMessages

Starts reading only new journal entries when no state file exists.

This parameter applies to imjournal: Systemd Journal Input Module.

Name:

  IgnorePreviousMessages

Scope:

  module

Type:

  boolean

Default:

  module=off

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

If enabled and no state file is present, messages already stored in the journal are skipped and only new entries are processed, preventing reprocessing of old logs.

## Module usage

    module(load="imjournal" IgnorePreviousMessages="...")

## Notes

- Historic documentation called this a `binary` option; it is boolean.

### Legacy names (for reference)

- $ImjournalIgnorePreviousMessages — maps to IgnorePreviousMessages (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.