Back to Geneos FAQ

How to Set Multiline Ignore Key on FKM

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:

Geneos - How to Set Multiline Ignore Key on FKM

Using the basic setup with ERROR as your FAIL key, plus the Multiple Trigger mode setting configured:

Geneos - How to Set Multiline Ignore Key on FKM

Geneos - How to Set Multiline Ignore Key on FKM

This would yield the following FKM dataview:

Geneos - How to Set Multiline Ignore Key on FKM

As there are multiple 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:

Geneos - How to Set Multiline Ignore Key on FKM

The resulting FKM dataview would now look like:

Geneos - How to Set Multiline Ignore Key on FKM

At this point, you can now set your FKM Ignore Key. In this case, we will set it so that 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.

Geneos - How to Set Multiline Ignore Key on FKM

The resulting dataview would now become the following, where 2 lines from the previous dataview were taken out as it satisfied the IGNORE KEY condition of 4 lines of ERROR messages followed by a line of MISTAKE message.

Geneos - How to Set Multiline Ignore Key on FKM

["Geneos"] ["Geneos > Netprobe"] ["FAQ"]

Was this topic helpful?