trimLineOverBytes¶
Truncates lines longer than the specified number of bytes.
This parameter applies to imfile: Text File Input Module.
- Name:
trimLineOverBytes
- Scope:
input
- Type:
integer
- Default:
0
- Required?:
no
- Introduced:
at least 8.x, possibly earlier
Description¶
Tells rsyslog to truncate lines whose length exceeds the configured number
of bytes. A positive value trims the line at that byte count. The default
0
means lines are never truncated. This option can be used when
readMode
is 0
or 2
.
Input usage¶
input(type="imfile" trimLineOverBytes="0")
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.