Back to Geneos FAQ

FKM - How to clear triggers that contain specific IDs or keys using a clear key

Log entries with IDs Copied

Some log entries contain IDs in them. For example, the log entry below has the ID 104:

Thu Sep 8 17:04:21 PST 2022 Error:104 - This is an error log entry

If the FKM sampler is configured to capture the above log entry, the dataview would look something like the following:

Fkm dataview

Clear triggers that contain IDs Copied

Clear keys can be configured to automatically clear a trigger. To clear triggers that contain specific IDs or keys, the FKM’s setKey (or error key) and clearKey need to be modified to use regex and a regex capture group.

For example, to clear the trigger above:

Below are the FKM sampler configuration and test log file used in this FAQ:

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

Was this topic helpful?