Log entries with IDs
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:
Clear triggers that contain IDs
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:
- Sampler configuration - FKM_Clear_Key_with_IDs.xml
- Test log file - test.log
Comments
0 comments
Please sign in to leave a comment.