discardTruncatedMsg¶
Discards the truncated part of an overlong message instead of processing it.
This parameter applies to imfile: Text File Input Module.
- Name:
discardTruncatedMsg
- Scope:
input
- Type:
boolean
- Default:
off
- Required?:
no
- Introduced:
at least 8.x, possibly earlier
Description¶
When messages are too long they are truncated and the remaining part is
processed as a new message. If discardTruncatedMsg
is on
, the
truncated part is discarded instead.
Input usage¶
input(type="imfile" discardTruncatedMsg="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–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.