I am using the log file agent, and I am confused about the option "If the condition is matched X consecutive times". What exactly is this referring to? Twice in the same line? Two lines in a row?
The meaning I was hoping for is "Found in 2 consecutive monitoring periods" but that does not seem to be the case. I am monitoring a robocopy logfile for the string "error". It will occasionally try to copy a temporary file that it can't grab a lock on and generate an error which I'd like to ignore. However, if the destination goes offline it will repeatedly generate an error line and this is the condition I am hoping to catch.
Thanks
Adam