# Export Kibana Index Patterns?

**URL:** <https://discuss.elastic.co/t/export-kibana-index-patterns/50756>\
**Category:** Kibana\
**Created:** [May 23, 2016, 6:55pm UTC](https://discuss.elastic.co/t/export-kibana-index-patterns/50756 "2016-05-23T18:55:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael1/32/29279_2.png) [@Michael1](https://discuss.elastic.co/u/Michael1)\
**Post date:** [May 23, 2016, 6:55pm UTC](https://discuss.elastic.co/t/export-kibana-index-patterns/50756/1 "2016-05-23T18:55:34Z")

</div>

Is there a way to export Kibana Index Patterns? We have various patterns with lots of fields. We have Kibana running in multiple environments so I am looking for a way to export/import Kibana Index Patterns from one environment to another to avoid manual creation per environment.

---

<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:** [May 23, 2016, 9:21pm UTC](https://discuss.elastic.co/t/export-kibana-index-patterns/50756/2 "2016-05-23T21:21:42Z")

</div>

There's no way to do this using Kibana.

But I have used [https://www.npmjs.com/package/elasticdump](https://www.npmjs.com/package/elasticdump) to accomplish things like this. This is not an Elastic product, not supported, use at you're own risk. I'm using it to save and reload test data including index patterns.

You could also look at the way some of the Beats load index patterns, saved search, visualizations, and dashboards. For example; [https://github.com/elastic/beats/tree/master/packetbeat/etc/kibana](https://github.com/elastic/beats/tree/master/packetbeat/etc/kibana)

Those are installed like this; `/usr/share/packetbeat/kibana/import_dashboards.sh`

---

<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:52pm UTC](https://discuss.elastic.co/t/export-kibana-index-patterns/50756/3 "2017-07-06T13:52:29Z")

</div>


