diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-24 10:09:43 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-24 10:09:43 +0200 |
commit | ffdc33e3f178ad85ba5c2c9f7fcee98b743e9d5e (patch) | |
tree | f4c4ea0196c0faf6adc96f33d18179c62ec23463 /doc/imfile.html | |
parent | 59056371156616274d9970300b3ab02432201422 (diff) | |
download | rsyslog-ffdc33e3f178ad85ba5c2c9f7fcee98b743e9d5e.tar.gz rsyslog-ffdc33e3f178ad85ba5c2c9f7fcee98b743e9d5e.tar.xz rsyslog-ffdc33e3f178ad85ba5c2c9f7fcee98b743e9d5e.zip |
imfile: added $InputFileMaxLinesAtOnce directive
Diffstat (limited to 'doc/imfile.html')
-rw-r--r-- | doc/imfile.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/imfile.html b/doc/imfile.html index 60726ceb..60bbbeea 100644 --- a/doc/imfile.html +++ b/doc/imfile.html @@ -98,9 +98,16 @@ performance, especially when set to a low value. Frequently writing the state file is very time consuming. <li><b>$InputFileReadMode</b> [mode]</b><br> Available in 5.7.5+ +<li><b>$InputFileMaxLinesAtOnce</b> [number]</b><br> +Available in 5.9.0+ <br> -Mode to be used when reading lines. 0 (the default) means that each line is forwarded -as its own log message. +This is useful if multiple files need to be monitored. If set to 0, each file +will be fully processed and then processing switches to the next file +(this was the default in previous versions). If it is set, a maximum of +[number] lines is processed in sequence for each file, and then the file is +switched. This provides a kind of mutiplexing the load of multiple files and +probably leads to a more natural distribution of events when multiple busy files +are monitored. The default is 10240. <li>$InputFileBindRuleset <ruleset><br> Available in 5.7.5+, 6.1.5+ Binds the listener to a specific <a href="multi_ruleset.html">ruleset</a>.</li> |