Hi Community,
Is there any way to limit the amount of matched lines that are sent to zabbix when using log function as active check?
This is the configuaration of the item:
log[file.log,pattern1 | pattern2 | pattern3 | pattern4,,5,skip]
Interval is 300 seconds. When there is a problem sometimes the log generates 500 lines with pattern1 in the log per minute so, between checks it will send 2500 lines to the server.
We are looking for limiting the amount of lines sent per check to something like 10 and discard the other 2490. Is this possible at all?
Thanks
Is there any way to limit the amount of matched lines that are sent to zabbix when using log function as active check?
This is the configuaration of the item:
log[file.log,pattern1 | pattern2 | pattern3 | pattern4,,5,skip]
Interval is 300 seconds. When there is a problem sometimes the log generates 500 lines with pattern1 in the log per minute so, between checks it will send 2500 lines to the server.
We are looking for limiting the amount of lines sent per check to something like 10 and discard the other 2490. Is this possible at all?
Thanks