Export and import your Search dashboards

Published on 06 February 2015 in Administration / Querying - 1 minute read - Last modified on 04 February 2020

Update August 2015: It is not much easier to import or export your dashboards, it is the same interface as the Oozie workflows exporter.


Using Hue 3.8 or CDH5.4

20000013 is the id you can see in the URL of the dashboard. If you don't specify -pks it will export all your dashboards.

./build/env/bin/hue dumpdata search.Collection -indent 2 -pks=20000013 -natural > data.json

Using Hue 3.7 or less

./build/env/bin/hue dumpdata search -indent 2 > data.json



./build/env/bin/hue loaddata data.json


And that's it, the dashboards with the same IDs will be refreshed with the imported ones!



If using CM, export this variable in order to point to the correct database:




Where is the most recent ID in that process directory for hue-HUE_SERVER.


Have any questions? Feel free to contact us on hue-user or @gethue!

comments powered by Disqus

More recent stories

23 June 2020
Monitoring Hue activity with Grafana Dashboards
Read More
22 June 2020
Automated checks for JavaScript modules compatible licenses and non absolute paths with Continuous Integration
Read More
19 May 2020
How to grant Ranger permissions for a new user on a Secure Cluster
Read More