# Export each json as tar file

**URL:** <https://discuss.elastic.co/t/export-each-json-as-tar-file/48681>\
**Category:** Kibana\
**Created:** [April 28, 2016, 1:38pm UTC](https://discuss.elastic.co/t/export-each-json-as-tar-file/48681 "2016-04-28T13:38:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nivetha](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@nivetha](https://discuss.elastic.co/u/nivetha)\
**Post date:** [April 28, 2016, 1:38pm UTC](https://discuss.elastic.co/t/export-each-json-as-tar-file/48681/1 "2016-04-28T13:38:57Z")

</div>

Am currently running kibana 4.3.1 . Is there any way that I can export dashbords as a tar file? .. Since Am working in production system, I cannot check it with the higher versions.

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [April 28, 2016, 2:42pm UTC](https://discuss.elastic.co/t/export-each-json-as-tar-file/48681/2 "2016-04-28T14:42:21Z")

</div>

Hi Nivetha,

From Kibana you can only export dashboards (and other saved objects) as json. You could then tar the json.

Another option I know of is to use [https://www.npmjs.com/package/elasticdump](https://www.npmjs.com/package/elasticdump) which could export any part of the .kibana index with something like [http://localhost:9200/.kibana/dashboards/\_search](http://localhost:9200/.kibana/dashboards/_search)

There's one example like this;  
elasticdump --input=http://production.es.com:9200/my\_index --output=$ | gzip \> /data/my\_index.json.gz

---

<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 6, 2017, 1:54pm UTC](https://discuss.elastic.co/t/export-each-json-as-tar-file/48681/3 "2017-07-06T13:54:50Z")

</div>


