I get the response JSON for my instances with data points. I can see the entity field gives me the mapping between dynatrace terminology and AWS instances. But I don't get all the instance id's. I get the name tags specified on the instance. Couple of questions for this use case..
1. How do I explicitly say that I need the instance id's and not the name tags in the api.
2. Or is there any separate API giving me mapping between the dynatrace terminology and the aws id or ARN corresponding to it?
3. What is my name tag if two instances have same name? Does my rest api show the same name for two different dynatrace id's or Does it show instance id for one of them?
Answer by Kulwinder S. ·
you will not be able to do that in API call. But you will have to wrap the api call in script which will further pull the details you need from the json file.
Something similar to what i have done here:
do let me know if it still doesn't work for you will write something up then.
split service by [AWS] environment 2 Answers