# Cannot import what was previously exported

**URL:** https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106
**Category:** Kibana
**Created:** [February 16, 2018, 7:08am UTC](https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106 "2018-02-16T07:08:55Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Patrik\_Iselind](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrik_iselind/32/25744_2.png) [@Patrik\_Iselind](https://discuss.elastic.co/u/Patrik_Iselind)
#### Post date: [February 16, 2018, 7:08am UTC](https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106/1 "2018-02-16T07:08:55Z")

</div>

Hi,

I have previously exported my dashboards and visualizations from [docker.elastic.co/kibana/kibana:5.6.2](http://docker.elastic.co/kibana/kibana:5.6.2). Now that i try to import them again to the same docker image after a system reboot, the visualizations refuse to get imported. The dashboards seem to be imported but are based on the visualizations so the dashboards are useless.

I'm not aware that i need to do anything special in order to be able to import the visaulizations. I did export using both the "export everything" and the "export" button but neither one of them produced something that can be imported it seems.

Any advise would be much appreciated.

Thanks a lot in advance,  
Patrik

---

<div class="post-metadata">

### Author: ![Patrik\_Iselind](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrik_iselind/32/25744_2.png) [@Patrik\_Iselind](https://discuss.elastic.co/u/Patrik_Iselind)
#### Post date: [February 16, 2018, 7:13am UTC](https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106/2 "2018-02-16T07:13:17Z")

</div>

I'm open to sharing the JSON files representing my visualizations and dashboards. I'm just not allowed to attach JSON in this forum.

The files are 13K (everything exported), 11K (visualizations), 1.9K (dashboards) large. So i feel it's probably not a good idea to post them here as notes.

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [February 16, 2018, 5:29pm UTC](https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106/3 "2018-02-16T17:29:22Z")

</div>

What's the error you're seeing when you try to import?

---

<div class="post-metadata">

### Author: ![Patrik\_Iselind](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrik_iselind/32/25744_2.png) [@Patrik\_Iselind](https://discuss.elastic.co/u/Patrik_Iselind)
#### Post date: [February 19, 2018, 7:13am UTC](https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106/4 "2018-02-19T07:13:38Z")

</div>

Here are the erros i see.

 ![kibana_errors](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a3b6a9f25885168061c3d00fa549f009dcc6bb8c.png)

I seem to get one error per visualization. If i click the "click here to re-create it" link i get to the index creation page but the index used has already been created so i cannot create it again.

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [February 20, 2018, 4:50pm UTC](https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106/5 "2018-02-20T16:50:35Z")

</div>

The fix here is to first create the index pattern, expand the "advanced" section and put the ID of the index pattern in your export (e.g. "AWE0EzyeKUCWgpkdxajS"). Then, attempt to import.

---

<div class="post-metadata">

### Author: ![Patrik\_Iselind](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrik_iselind/32/25744_2.png) [@Patrik\_Iselind](https://discuss.elastic.co/u/Patrik_Iselind)
#### Post date: [February 21, 2018, 7:05am UTC](https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106/6 "2018-02-21T07:05:11Z")

</div>

OK, this should probably be part of the import process for me to choose which index to use for which ID.

It seems i have two different IDs for the same index, for a reason unknown to me. Doing this with one ID make sense but how do i accomplish this when there are two IDs for the same index?

---

<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: [March 21, 2018, 7:05am UTC](https://discuss.elastic.co/t/cannot-import-what-was-previously-exported/120106/7 "2018-03-21T07:05:29Z")

</div>

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