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

How to import or export dashboards in one agent server

rahul_bhagadkar
Newcomer

I have all dashboards in non-prod environment I need to clone to prod is it possible


1 REPLY 1

The_AM
Dynatrace Champion
Dynatrace Champion

Hi Rahul,

Yes, it's possible to do this with the Dashboards API. https://www.dynatrace.com/support/help/shortlink/api-config-dashboards

It's a good idea to keep tags, etc. used as filters consistent across environments between non-prod and prod if possible. If they are not the same, you may need to know some mapping details for what to replace filters with.

If you have any key requests pinned to dashboards you'll also need things like Service IDs and Service Method (key request) IDs mapping handy.


If it's just a couple of one-offs - exporting the JSON from the API and find+replace would suffice to modify the dashboard before importing to the other environment.


If this is more frequent, it may be useful to write up something to help you automate this process.


Also, be sure to validate the JSON with the API before uploading and creating a new dashboard.


Regards,

Andrew



Regards,
Andrew M.

Featured Posts