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

extract hosts in excel or csv

mahima_goel
Participant

I want to extract all the list of hosts in a excel or csv file for a Saas

6 REPLIES 6

justin_hogue
Dynatrace Advisor
Dynatrace Advisor

Hello,

One way to do this would be to utilize the Environment API v1. Under Topology & Smartscape you can grab a list of all available hosts in your environment and then download a json file for the given output. You can then convert that json data into a table in excel.


Here is a link that explains how to convert the json data in exel that might be useful.

https://community.dynatrace.com/spaces/482/dynatrace-open-qa/questions/233359/audit-log-api-how-to-c...

Hope this helps!

Is this mean I don't have permissions?

Did you authorize with an API token that has the correct permissions?

To do this you'll need to go to Settings > Integration > Dynatrace API. You'll then need to generate a token with the following permission: Access problem and event feed, metrics, and topology. Then copy the generated token and use it to authorize that API by clicking the lock icon and adding the copied token into the box labeled Value. After that authorize the token and then try to execute that API again.

Did as you said, but still receiving same error

ChadTurner
DynaMight Legend
DynaMight Legend

Hey, You will need to create an API token like this one:

You will need to copy that token code an authorize the API:


Then make sure you select Try it out!

Let me know if you get an error and we can work through it.

-Chad

Featured Posts