25 Apr 2019 07:58 AM
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?
Thanks.
Solved! Go to Solution.
30 Apr 2019 07:54 AM
Anyone could kindly suggest?
30 Apr 2019 02:34 PM
Hi Narravula,
Have you tried to create an automatic tag* with the ID placeholder and tested if you get that ID in the JSON response?
*Settings > Tags > Automatically applied tags > Create tag
Regards.
02 May 2019 07:35 AM - last edited on 30 Jan 2024 10:45 AM by IzabelaRokita
hi Narravula,
you will not be able to do that in an API call. But you will have to wrap the API call in the script, which will further pull the details you need from the json file.