Export topology relationship

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

Hello @roberto_ravo

Regarding the raised concern kindly proceed with the attached URL:

KR,

Peter

Hi @roberto_ravo

You can also refer to the attached URL in case you’re interested in DQL:

BR,

Peter

Hello @roberto_ravo

For future cases, As per Dynatrace

  • Deprecated:

Active:

Regards,

Peter.

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.

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