Back to Geneos FAQ

FKM - display entire block of a multiline error in triggerDetails

One way to capture the entire block of a multiline error is to use FKM’s multiline setting.

Let’s use the sample error log below.

2023-03-21 04:53:21,414 | ERROR | org.dozer.MappingProcessor | mapField | 283 | org.dozer.MappingProcessor | Field mapping error -->
     MapId: null
     Type: null
     Source parent class: quickfix.fix42.ExecutionReport
     Source field name: TransactTime
     Source field type: null
2023-03-21 04:53:23,115 | INFO | org.dozer.MappingProcessor | mapField | 285 | org.dozer.MappingProcessor | Field mapping info -->

Your multiline settings should look like the below to capture the timestamp as your start and end pattern.

Geneos - FKM - display entire block of a multiline error in triggerDetails

Simple regex to capture the timestamp: \d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d,\d\d\d

You can use https://regex101.com/ to test your regex.

And your match key setting should look like below. You’ll notice that ‘Source field type’ is defined as an end tag so only lines above ‘Source field type’ are displayed.

Geneos - FKM - display entire block of a multiline error in triggerDetails

Ensure ‘Parse trigger details’ in the advanced tab setting is turned on.

Geneos - FKM - display entire block of a multiline error in triggerDetails

Sample FKM dataview:

Geneos - FKM - display entire block of a multiline error in triggerDetails click the image to enlarge*

Notes:

The ’triggerDetails’ has an internal max character limit. Please use the start and end tags to remove unnecessary data.

References:

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

Was this topic helpful?