# Importing and Exporting dashboards either from script or command line

**URL:** <https://discuss.elastic.co/t/importing-and-exporting-dashboards-either-from-script-or-command-line/91220>\
**Category:** Kibana\
**Created:** [June 29, 2017, 5:14am UTC](https://discuss.elastic.co/t/importing-and-exporting-dashboards-either-from-script-or-command-line/91220 "2017-06-29T05:14:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gargraghav](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@gargraghav](https://discuss.elastic.co/u/gargraghav)\
**Post date:** [June 29, 2017, 5:14am UTC](https://discuss.elastic.co/t/importing-and-exporting-dashboards-either-from-script-or-command-line/91220/1 "2017-06-29T05:14:29Z")

</div>

I have exported my dashboard into a .json file in my local machine. Now I have deleted the particular saved dashboard from Kibana and trying to import it back using the same .json file with the help of command line through curl command:  
curl -XPUT [http://localhost:9200/.kibana/dashboard/xyz](http://localhost:9200/.kibana/dashboard/xyz) --data-binary @me.json

But I am facing issues. Please help.

---

<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:** [June 29, 2017, 2:48pm UTC](https://discuss.elastic.co/t/importing-and-exporting-dashboards-either-from-script-or-command-line/91220/2 "2017-06-29T14:48:26Z")

</div>

Hi

What kind of issues are you facing? Are there any supported logs to attach which may tell what the problem is? I suspect it also might be related to permission issue of the JSON file.

Thanks  
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:** [July 27, 2017, 2:48pm UTC](https://discuss.elastic.co/t/importing-and-exporting-dashboards-either-from-script-or-command-line/91220/3 "2017-07-27T14:48:26Z")

</div>

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