# Kibana 6.2.1 - Command line to do export and import Visualizations, and Dashboards

**URL:** <https://discuss.elastic.co/t/kibana-6-2-1-command-line-to-do-export-and-import-visualizations-and-dashboards/123286>\
**Category:** Kibana\
**Created:** [March 9, 2018, 2:42pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-command-line-to-do-export-and-import-visualizations-and-dashboards/123286 "2018-03-09T14:42:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![franco.federico](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@franco.federico](https://discuss.elastic.co/u/franco.federico)\
**Post date:** [March 9, 2018, 2:42pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-command-line-to-do-export-and-import-visualizations-and-dashboards/123286/1 "2018-03-09T14:42:49Z")

</div>

Hi all

I'd like to know the command line in order to do export of Visualizations, and Dashboards and the import to a new Kibana in a new enviroment.

I think that if it's possible to UI there is a method to do with the command line (I hope)

Thank you  
Bye  
Franco

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [March 9, 2018, 10:07pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-command-line-to-do-export-and-import-visualizations-and-dashboards/123286/2 "2018-03-09T22:07:49Z")

</div>

Hi Franco,

Am afraid , code is always the best docs, second best is the PR at the moment: I could find this one :

> <https://github.com/elastic/kibana/pull/10858>

This PR creates an import / export API for dashboards. The current implementation under Mangement \> Saved Objects allows you to only export everything or individual dashboards (with out the support...  
If you only want dashboards, this api will export all of a dashboards dependencies. The saved object api is your best bet for granular requests, index patterns and so on.

Hope this helps,

Cheers  
Rashmi

---

<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:** [April 6, 2018, 10:07pm UTC](https://discuss.elastic.co/t/kibana-6-2-1-command-line-to-do-export-and-import-visualizations-and-dashboards/123286/3 "2018-04-06T22:07:56Z")

</div>

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