needParse#

Forces messages to pass through configured parser modules.

This parameter applies to imfile: Text File Input Module.

Name:

needParse

Scope:

input

Type:

boolean

Default:

off

Required?:

no

Introduced:

8.1903.0

Description#

By default, read messages are sent to output modules without passing through parsers. Setting needParse to on makes rsyslog apply any defined parser modules to these messages.

Input usage#

input(type="imfile"
      File="/var/log/example.log"
      Tag="example"
      needParse="on")

Notes#

  • Legacy documentation used the term binary for the type. It is treated as boolean.

See also#

See also imfile: Text File Input Module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.