# Import dashboards and visualizations with ElasticDump

**URL:** https://discuss.elastic.co/t/import-dashboards-and-visualizations-with-elasticdump/137307
**Category:** Kibana
**Created:** [June 25, 2018, 6:08pm UTC](https://discuss.elastic.co/t/import-dashboards-and-visualizations-with-elasticdump/137307 "2018-06-25T18:08:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![guilhermesteinmuller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guilhermesteinmuller/32/32672_2.png) [@guilhermesteinmuller](https://discuss.elastic.co/u/guilhermesteinmuller)
#### Post date: [June 25, 2018, 6:08pm UTC](https://discuss.elastic.co/t/import-dashboards-and-visualizations-with-elasticdump/137307/1 "2018-06-25T18:08:48Z")

</div>

Hello! I'm trying to import via elasticdump some json files that I manually exported via kibana web interface. But seems that the import is not working.

Here's the output of the command:

root@csc-elk-elastic-logstash-container-472da4f8:~# /opt/elasticdump/node\_modules/elasticdump/bin/elasticdump --input=test.json --output=http://10.11.25.147:9200/.kibana --type=data  
Mon, 25 Jun 2018 18:08:13 GMT | starting dump  
Mon, 25 Jun 2018 18:08:13 GMT | got 1 objects from source file (offset: 0)  
Mon, 25 Jun 2018 18:08:14 GMT | sent 1 objects to destination elasticsearch, wrote 0  
Mon, 25 Jun 2018 18:08:14 GMT | got 0 objects from source file (offset: 1)  
Mon, 25 Jun 2018 18:08:14 GMT | Total Writes: 0  
Mon, 25 Jun 2018 18:08:14 GMT | dump complete

The main question is: is that possible to import dashboards and visualizations throught elasticdump?

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [June 25, 2018, 11:12pm UTC](https://discuss.elastic.co/t/import-dashboards-and-visualizations-with-elasticdump/137307/2 "2018-06-25T23:12:22Z")

</div>

The response from Kibana's saved object API's are not compatible with ElasticDump.

It is best to use Kibana's saved object APIs for importing and exporting. Documentation can be found at [https://www.elastic.co/guide/en/kibana/6.3/saved-objects-api.html](https://www.elastic.co/guide/en/kibana/6.3/saved-objects-api.html).

---

<div class="post-metadata">

### Author: ![guilhermesteinmuller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guilhermesteinmuller/32/32672_2.png) [@guilhermesteinmuller](https://discuss.elastic.co/u/guilhermesteinmuller)
#### Post date: [June 25, 2018, 11:44pm UTC](https://discuss.elastic.co/t/import-dashboards-and-visualizations-with-elasticdump/137307/3 "2018-06-25T23:44:34Z")

</div>

Thanks @Nathan_Reese! I really appreciate your help.

Just to document, I did some workaround: I created the objects manually via web interface and then, I dumped the .kibana index. With the .kibana index json file, I got the right json format that is compatible with ElasticDump and it worked!

I know that the link that you provided tells that it is not safe, but I will be aware of the changes in future versions. I will also try to do to it like the documentation says to have a alternative just in case.

Thanks once again

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 23, 2018, 11:44pm UTC](https://discuss.elastic.co/t/import-dashboards-and-visualizations-with-elasticdump/137307/4 "2018-07-23T23:44:44Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
