Main

Runs the input’s ruleset on the main thread and stops reading if outputs block.

This parameter applies to imjournal: Systemd Journal Input Module.

Name:

Main

Scope:

input

Type:

boolean

Default:

input=off

Required?:

no

Introduced:

8.2312.0

Description

When enabled, the input module executes its bound ruleset in the main thread and pauses ingestion if the output side cannot accept data. Only the first input with Main="on" is treated as such; others run in background threads.

Input usage

input(type="imjournal" Main="...")

Notes

  • Earlier documentation misclassified this option; it is boolean.

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.