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

Extracting Dynatrace Problem Information From V1 API to JSON

louis_gallo
Helper

I am new to Dynatrace. We are trying to extract problem details and are using the V1 API which produces a messy nested JSON file. Is JSON the only format supported for problem information? If so, any community scripts or ideas for parsing that JSON?

Thanks,

Lou

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

Yes, the REST API produces JSON in general. It's not messy, it's structured :-).

You do not mention the language you are trying to parse the response, but Dynatrace has openapi specification that will allow you to generate the "client" stubs in any language (for example using swagger-codegen).

If you want to play with it in shell scripts - I'd recommend a combination of curl and jq command line tools. Especially jq is a must have swiss-army knife when dealing with JSON.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts