MaxBytesPerMinute
Drops messages when the total bytes per minute exceed the specified limit.
This parameter applies to imfile: Text File Input Module.
- Name:
MaxBytesPerMinute
- Scope:
input
- Type:
integer
- Default:
0
- Required?:
no
- Introduced:
at least 8.x, possibly earlier
Description
Instructs rsyslog to enqueue only up to the specified number of bytes as
messages per minute. Once the limit is reached, subsequent messages are
discarded. Messages are not truncated; an entire message is dropped if it
would exceed the limit. The default 0 disables this check.
Input usage
input(type="imfile"
File="/var/log/example.log"
Tag="example"
MaxBytesPerMinute="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.