Skip to content

KrishnaPG/redash-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redash-export

Export Redash Queries and Dashboards as JSON

Redash allows you to create queries and dashboards through UI. But if you need to persist the created queries, visualization settings and the dashboards as code, so that you can recreate them later in another Redash instance, you can use this Export scripts.

Usage:

  • To export the Queries from the Redash, run the below command:
       python ./query_export.py --redash-url <YOUR_REDASH_URL>  --api-key <YOUR_REDASH_API_KEY>
  • To export the Dashboards from the Redash, run the below command:
       python ./dashboard_export.py --redash-url <YOUR_REDASH_URL>  --api-key <YOUR_REDASH_API_KEY>

Credit

Originally based on the GIST: https://gist.github.com/y-yoi/059006cbab4437ad6eca94c1cf497ccf later heavily modified to streamline the download and output to JSON.

About

Export Redash Queries SQL and Dashboards as JSON

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages