Summary: Dynatrace Query Language (DQL) supports JSON parsing for logs and events. This thread shows how to extract fields, handle arrays, and apply filters for advanced analytics.
Hi All,
I need some help as I am trying to extract the below name : value pairs from a bizevent that I have setup but can’t seem to be able to do this?
{ “details”: [ { “timestamp”: “2020-04-05T18:05:21+05:30”, “talktome”: “”, “type”: “issues”, “Metrics”: [ { “name”: “PLATFORM”, “value”: “windows” }, { “name”: “HOST”, “value”: “1111111” }, { “name”: “VERSION”, “value”: “100” } ] } ] }
{ “details”: [ { “timestamp”: “2020-04-05T18:05:21+05:30”, “talktome”: “”, “type”: “issues”, “Metrics”: [ { “name”: “PLATFORM”, “value”: “ios” }, { “name”: “HOST”, “value”: “1111111” }, { “name”: “VERSION”, “value”: “100” } , { “name”: “SDK”, “value”: “1.23” }] } ] }
Please could someone assist with a query that can pull the Metrics name : value pair whereby the Metrics name value on both the examples above will be satisfied
Example
PLATFORM = windows , HOST = 1111111, VERSION=100
PLATFORM = ios, HOST = 1111111, VERSION=100, SDK=1.23

