# Migrating Saved Objects from Kibana 5.5 to 8.1

**URL:** <https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117>\
**Category:** Kibana\
**Tags:** migration, saved-objects\
**Created:** [September 29, 2023, 8:33am UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117 "2023-09-29T08:33:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [September 29, 2023, 8:33am UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117/1 "2023-09-29T08:33:01Z")

</div>

Hello Community,

we are trying to export our saved objects ( visualizations, dashboards ..) from Kibana 5.5 to Kibana 8.1.

The challenge is that exported saved objects from Kibana are in .json format and the expected format while importing saved objects in Kibana 8.1 is .ndjson.  
A workaround we did is converted our json to ndjson using online tools , however still it is not able to parse those saved objects.

There seems a big difference in the structure of both saved objects.

How can we solve this? any help?

---

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [September 29, 2023, 9:51am UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117/2 "2023-09-29T09:51:51Z")

</div>

tagging @Patrick_Mueller for attention to the topic.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [September 29, 2023, 12:07pm UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117/3 "2023-09-29T12:07:25Z")

</div>

> [@Divyanshu\_Raj](#):
>
> we are trying to export our saved objects ( visualizations, dashboards ..) from Kibana 5.5 to Kibana 8.1.

I don't think this is possible, there are 3 major updates between those versions and a lot of things changed from Kibana 5 to Kibana 8.

This is also not a supported upgrade, so I would not expect this to work either.

You will need to recreate your visualizations and dashboards.

---

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [September 29, 2023, 1:24pm UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117/4 "2023-09-29T13:24:16Z")

</div>

thank you for replying @leandrojmp.

I was thinking of an approach that would not include Kibana to Kibana transfer, figure out documents at Elasticsearch 5. x and try to fit it into documents at elastic 8. x, as I saw that the mapping of storing "visualization" and "dashboard" is the same across both elasticsearch versions.

what are your thoughts on this?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [September 29, 2023, 1:59pm UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117/5 "2023-09-29T13:59:58Z")

</div>

I don't think it will work.

As I mentioned Kibana 5 and Kibana 8 are 3 major versions apart, a lot of things changed, some visualizations were removed, other where changed and others where added.

Even if you are able to import the visualizations and dashboards from Kibana 5 into Kibana 8 probably a lot of thing would be broken and you would need to individually fix it, sometimes it would be way easier to just recriate them.

---

<div class="post-metadata">

**Author:** ![Divyanshu\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyanshu_raj/32/100222_2.png) [@Divyanshu\_Raj](https://discuss.elastic.co/u/Divyanshu_Raj)\
**Post date:** [October 4, 2023, 6:57am UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117/6 "2023-10-04T06:57:17Z")

</div>

thank you @leandrojmp for your input.

we have too many visualizations and dashboards in 5.5 and it would be very tough to recreate them in the new Kibana 8. x.

in addition to that,  
as evident on the [Import objects API | Kibana Guide [8.10] | Elastic](https://www.elastic.co/guide/en/kibana/current/saved-objects-api-import.html) compatibility table, we can export saved objects from 6.x -- \> 7.x and then 7.x --\> 8.x , however there is no such evident that we can do from 5.x--\>6.x but i think it is possible to that, so assumig that can finally achieve our goal of migration of 5.x ----\> 8.x via a route

5.x -- \> 6.x --\> 7.x --\>8.x

any light on this matter?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 4, 2023, 11:51am UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117/7 "2023-10-04T11:51:40Z")

</div>

> [@Divyanshu\_Raj](#):
>
> any light on this matter?

Unfortunately no.

You will need to test it yourself.

And even if you are able to export/import the saved objects, you should expect to recreate some of them, a lot has change on Kibana from version 5 to 8, depending on your visualizations some of them may not exist/work anymore and I would say that most of them, if not all, are deprecated.

Kibana visualizations uses Kibana Lens now, which was introduced in version 7.5, other kinds of visualizations were deprecated or removed.

---

<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:** [November 1, 2023, 11:52am UTC](https://discuss.elastic.co/t/migrating-saved-objects-from-kibana-5-5-to-8-1/344117/8 "2023-11-01T11:52:13Z")

</div>

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