Dashboarding
Dynatrace dashboards, notebooks, and data explorer explained.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to export all dashboard and workflow JSON definitions from Dynatrace SaaS?

zezinando
Newcomer

I’m using Dynatrace SaaS and I’d like to export the JSON definitions of all dashboards and workflows from my environment.

I know it’s possible to download the JSON manually, one dashboard or workflow at a time from the UI, but that doesn’t scale. My goal is to automate searches across all configurations.

For example, I need to identify:

  • All dashboards that reference a specific Grail/logs index
  • All workflows that contain queries using that index

Is there an API-based or automated way to:

  • Export all dashboard JSON definitions
  • Export all workflow JSON definitions

...so they can be searched programmatically?

Any guidance, API endpoints, or best practices would be appreciated.

2 REPLIES 2

wouterdt
Helper

I have not done downloads but you yan use the dynatrace platform  document API  to do this

I have used this to rename, copy, take ownership or make documents public

https://developer.dynatrace.com/develop/sdks/client-document/

t_pawlak
Champion

🇬🇧 English

While exporting dashboards and workflows via Dynatrace APIs is technically possible, it doesn’t scale well for full-environment analysis.
Best practice is to use Dynatrace Monaco (or Terraform if already in use) to export all dashboards and workflows as code (JSON/YAML), store them in Git, and easily search for Grail/log indexes, DQL queries, or other references across all configurations.

 

https://docs.dynatrace.com/docs/deliver/configuration-as-code/monaco

https://registry.terraform.io/providers/dynatrace-oss/dynatrace/latest

 

Featured Posts