cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unescape JSON content to JSON object with DPL (Dynatrace Pattern Language)

Ardhi
Contributor

Hi,

Can we Unescape JSON content to JSON object with DPL?

The reason for this is we want to parse log like this 

{"content": "{\"level\":\"info\"}"}

to this

{"content": "{\"level\":\"info\"}"

"level":"info"

}

and if possible to do this dynamically without manual input of the field name and able to append the filed to become something like "xxx_level" so we can reuse in other log

{"content": "{\"level\":\"info\"}"

"xxx_level":"info"

}

0 REPLIES 0