05 Oct 2018 02:26 PM - last edited on 10 May 2021 03:45 PM by MaciejNeumann
I have created a dashbaord for Dynatrace Managed version - 1.150; Need the API to get the dashboard for specific interval <start time > and <end time>.Also the link when accessed in another machine asking for user credentials
Solved! Go to Solution.
05 Oct 2018 02:53 PM
Hi Bhuvan,
I don't think there is an API endpoint for Dashboards at the moment. What you can do is share the dashboard via a link: https://www.dynatrace.com/support/help/monitor/
It's only possible to view Dashboards when logged in so it will ask for credentials if you aren't. The default sharing link would be something like:
https://abc123.dynatrace-managed.com/e/{ENVIRONMENT-UUID}/#dashboard;id={DASHBOARD-UUID};gtf=defaultTimeFrame
But you can change the gtf parameter to any timeframe you like, e.g. for October 3rd 12am to October 4th 12am (UTC+2):
https://abc123.dynatrace-managed.com/e/{ENVIRONMENT-UUID}/#dashboard;id={DASHBOARD-UUID};gtf=c_1538517600000_1538604000000
To gernerate these you can use the default timeframe utility. That will adjust the gtf parameter of the current page automatically.
best regards
Franz