Looking for single content match over multiple lines to indicate success. For example, the below test should ONLY alert if there was no single line matching the supplied regex generated since the last cycle. There can be other lines that do not match but there has to have been at least one line that did match.
check file test.log
with path /var/log/test.log
if not match "Found \d+ of \d+ widgets" then alert
Is this possible? Or do I have to write a custom script to do this check and alert on it's return status?
TIA.
[Prev in Thread]
Current Thread
[Next in Thread]
Single content match over multiple lines,
Marc Rossi<=