# Is it possible to migrate visualizations from version 4.1 to 6.4

**URL:** https://discuss.elastic.co/t/is-it-possible-to-migrate-visualizations-from-version-4-1-to-6-4/200220
**Category:** Kibana
**Created:** [September 19, 2019, 2:09pm UTC](https://discuss.elastic.co/t/is-it-possible-to-migrate-visualizations-from-version-4-1-to-6-4/200220 "2019-09-19T14:09:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jeffzhao](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jeffzhao](https://discuss.elastic.co/u/jeffzhao)
#### Post date: [September 19, 2019, 2:09pm UTC](https://discuss.elastic.co/t/is-it-possible-to-migrate-visualizations-from-version-4-1-to-6-4/200220/1 "2019-09-19T14:09:01Z")

</div>

We want to upgrade from Elasticsearch 1.7 + Kibana 4.1 to Elasticsearch 6.4 + Kibana 6.4.

We have setup a new cluster using Elasticsearch 6.4 + Kibana 6.4. We also migrated the Elasticsearch index using reindex-from-remote approach successfully.

Since there are so many Kibana visualizations created in the old cluster, we want to migrate them to the new cluster without re-creating.

I have followed this document to reindex .kibana index. When opening the saved visualization, I got error "The index pattern associated with this object no longer exists."

> **[Migrating Kibana index to 6.0 | Kibana User Guide \[6.4\] | Elastic](https://www.elastic.co/guide/en/kibana/6.4/migrating-6.0-index.html)**

Then I found this thread and tried the workaround with Export/Import:

> [@Kibana 5 Visualisations broken after Upgrade to 6](https://discuss.elastic.co/t/kibana-5-visualisations-broken-after-upgrade-to-6/120881):
>
> Hi Guys, i upgraded last week from 5.6 to 6.2 but now almost all of my old visualisations are broken. If i'll click on a individual vis, i'll be redirected to Management-\>Saved Object. There i get the error: There is a problem with this saved object The index pattern associated with this object no longer exists. If you know what this error means, go ahead and fix it — otherwise click the delete button above. I think it has something to do with the kibana(6)-Index?! The Index of the visual…

While importing I still receive this warning: " The following saved objects use index patterns that do not exist. Please select the index patterns you'd like re-associated with them. You can [create a new index pattern](https://qi-new-kibana-cluster-beta.integ.amazon.com/app/kibana#/management/kibana/index) if necessary." along with this error message: "Cannot read property 'save' of undefined".

Is this the right way to migrate visualizations from ver 4.1 to 6.4?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 19, 2019, 2:11pm UTC](https://discuss.elastic.co/t/is-it-possible-to-migrate-visualizations-from-version-4-1-to-6-4/200220/2 "2019-09-19T14:11:15Z")

</div>

No there is as far as I know not. At least not unless you step through all the versions. You will unfortunately likely need to recreate.

---

<div class="post-metadata">

### Author: ![jeffzhao](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jeffzhao](https://discuss.elastic.co/u/jeffzhao)
#### Post date: [September 20, 2019, 2:31pm UTC](https://discuss.elastic.co/t/is-it-possible-to-migrate-visualizations-from-version-4-1-to-6-4/200220/3 "2019-09-20T14:31:32Z")

</div>

Hi Christian\_Dahlqvist,

Do you think if it's going to work if I go through the 4.1 to 5.x, 5.x to 6.x path?

I'm considering to setup a separate 5.x cluster just for this migration purpose. But I'd like to verify if somebody else has successfully done it.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 20, 2019, 3:59pm UTC](https://discuss.elastic.co/t/is-it-possible-to-migrate-visualizations-from-version-4-1-to-6-4/200220/4 "2019-09-20T15:59:38Z")

</div>

I do not know how migrations have evolved over time and whether something is likely to break. I would wait for someone from the Kibana team to comment.

---

<div class="post-metadata">

### Author: ![jeffzhao](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jeffzhao](https://discuss.elastic.co/u/jeffzhao)
#### Post date: [September 21, 2019, 2:31pm UTC](https://discuss.elastic.co/t/is-it-possible-to-migrate-visualizations-from-version-4-1-to-6-4/200220/5 "2019-09-21T14:31:53Z")

</div>

Kibana team,

Since we have 1,000+ visulizations created in version 4.1, we desperately want an approach to automate the migration process. Is there any solution or workaround?

---

<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: [October 19, 2019, 2:37pm UTC](https://discuss.elastic.co/t/is-it-possible-to-migrate-visualizations-from-version-4-1-to-6-4/200220/6 "2019-10-19T14:37:57Z")

</div>

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