Hi,
suppose that I have the following log strings:
1616/9 2011-11-22 10:11:23 WARN program 934478399
1616/9 2011-11-22 10:11:24 WARN program 934478399
1616/6 2011-11-22 10:11:25 WARN program 934478399
1616/6 2011-11-22 10:11:26 WARN program -1
1616/6 2011-11-22 10:11:27 WARN program -1
1616/9 2011-11-22 10:11:28 WARN program -1
1616/6 2011-11-22 10:11:29 WARN program 934478399
1616/6 2011-11-22 10:11:30 WARN program 934478399
1616/4 2011-11-22 10:11:31 WARN program 934478399
1616/4 2011-11-22 10:11:32 WARN program -1
1616/4 2011-11-22 10:11:33 WARN program 934478399
1616/4 2011-11-22 10:11:34 WARN program -1
1616/4 2011-11-22 10:11:35 WARN program -1
1616/4 2011-11-22 10:11:36 WARN program -1
... same to the end of the log
Now I'd like to find (and alert) on all groups of "program -1" occurences, but only once. They can come by one string, a group of several strings or just start at some moment and continue to the end of the log file. E.g. for the sample above, I'd like to get three matches. I tried transaction but I did not quite got what I wanted.
... View more