Primarily, you will need to use the Multi line functionality of FKM, (where, the idea is that the FKM key, be it FAIL or Warning, is composed of multiple lines, tagged by Start pattern and End pattern) in conjunction with the Ignore Key. |
Here's how. Suppose you have a text file composed of the following lines;
Using Basic Setup with ERROR message as your FAIL key, plus Multiple Trigger mode setting configured
Would yield the following FKM dataview
As there's multitudes of lines with ERROR, and you require that the FAIL key will be a composition of ERROR messages and of MISTAKE message to form a single FAIL key, you will have to perform the following;
Resultant FKM dataview would now look like;
At this point, you can now set your FKM Ignore Key, in this case, we will set it wherein 4 lines of ERROR messages followed by a line of MISTAKE message will be IGNORED. Using REGEX string ^(ERROR\n){4}MISTAKE will sort the dataview required
Resultant dataview would now become the following; where 2 lines from the previous dataview were taken out as it sufficed the IGNORE KEY condition of 4 lines of ERROR messages, followed by a line of MISTAKE message. |
Comments
0 comments
Please sign in to leave a comment.