05 Jul 2024 04:55 PM - last edited on 20 Aug 2024 02:31 PM by Michal_Gebacki
How can I extract host availability for more than 500 host in excel from Dynatrace Saas/managed.
Is there any API that can help to extract this data?
Solved! Go to Solution.
05 Jul 2024 07:40 PM
Hi @JyotiSingh ,
The easiest way is getting the data from data Explorer using this metric: builtin:host.availability.state
Then, enabling flag "Advance mode" and removing :limit(x)
Finally, exporting the data to csv.
Hope it helps.
Regards,
Elena
08 Jul 2024 07:47 PM
Thanks this was the easiest solution & it worked for me.
07 Jul 2024 06:43 AM
Hi @JyotiSingh
In top of what Elena is saying, you can also use Dynatrace API to read the same metric:
https://docs.dynatrace.com/docs/shortlink/api-metrics-v2-get-all
08 Jul 2024 03:12 PM
@JyotiSingh , @erh_inetum and @Malaik are correct. The API will give you the RAW Json in which you can then ingest it into excel and massage the data as you see fit to provide a proper format as needed.