19 Nov 2024 01:29 PM
Hi all!
We would like to try to extract all entities from a given application. We have identified the possibility of using the /api/v2/entities API and extracting entities by type using the relationship part and then manipulate it inside a script. In your opinion is this a correct method? Does anyone have something ready to share?
Regards
Roberto
19 Nov 2024 01:34 PM
19 Nov 2024 01:36 PM
You can also refer to the attached URL in case you're interested in DQL:
BR,
Peter
19 Nov 2024 01:42 PM
19 Nov 2024 01:43 PM
That's exactly how we are doing it, target your app then add in the query to list the to/from relationships as needed. The only downside is you get the Dynatrace ID and not the friendly name - I suspect this can be overcome with Grail as a lookup could be leveraged.
19 Nov 2024 04:11 PM
Thank you all for the quick response!
So basically, you are confirming what I though about this topic.
Also DQL I think that coul be a great solution, but I think that the query will be a little bit tricky.
In your opinion, is there a script or query available somewhere that would allow us to extract what is necessary?
Thank you!
Roberto