# Saved Items Import/Export Json/ndjson discrepancy

**URL:** <https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834>\
**Category:** Kibana\
**Created:** [September 17, 2019, 2:02pm UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834 "2019-09-17T14:02:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpinDORK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spindork/32/45310_2.png) [@SpinDORK](https://discuss.elastic.co/u/SpinDORK)\
**Post date:** [September 17, 2019, 2:02pm UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834/1 "2019-09-17T14:02:00Z")

</div>

Hi,

We have a Dev and Prod copy of Kibana, our Dev is 7.1.0, our Prod is 7.2.0

The problem is when developing in Dev and exporting, we get a .json file which gives an warning when importing into Prod and nothing in Prod can be sent back to Dev. Has this been a change during the version upgrade from 7.1.0 to 7.2.0 as I cannot find anything in the changelogs specifically stating export format changed from .json to .ndjson

Many thanks,

Steve

---

<div class="post-metadata">

**Author:** ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)\
**Post date:** [September 17, 2019, 4:56pm UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834/2 "2019-09-17T16:56:09Z")

</div>

Hi @SpinDORK,

Can you give us the warning you are seeing?

Thanks,  
Liza

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [September 17, 2019, 7:04pm UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834/3 "2019-09-17T19:04:05Z")

</div>

Hi,

So .json format got deprecated in 7.2.0 and we have the .ndjson format now. But .json format wont be going away for a while yet.

Here is the PR for it:

> <https://github.com/elastic/kibana/pull/33513>

Were you able to import without any problems? or were there any issues?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![SpinDORK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spindork/32/45310_2.png) [@SpinDORK](https://discuss.elastic.co/u/SpinDORK)\
**Post date:** [September 18, 2019, 11:48am UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834/4 "2019-09-18T11:48:27Z")

</div>

Hi,

Well unfortunately some of our dashboards and visualisations were developed in Prod so we need to retroactively export them back into Dev to mirror. So when I export a dashboard from Prod and import into Dev I get this error;

> Sorry, there was an error  
> The file could not be processed.

Unfortunately it doesn't seem to give me any more information other than that.

Dev --\> Prod works but not Prod --\> Dev

Is there any work around for this?

---

<div class="post-metadata">

**Author:** ![astickler](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@astickler](https://discuss.elastic.co/u/astickler)\
**Post date:** [September 19, 2019, 4:49pm UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834/5 "2019-09-19T16:49:43Z")

</div>

I get the same error exporting from 7.3.1 and importing into 7.1.1 - is there a workaround please (I can't upgrade the 7.1.1 Kibana)?  
Thanks,  
Andrew

---

<div class="post-metadata">

**Author:** ![SpinDORK](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spindork/32/45310_2.png) [@SpinDORK](https://discuss.elastic.co/u/SpinDORK)\
**Post date:** [September 20, 2019, 9:24am UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834/6 "2019-09-20T09:24:51Z")

</div>

So far we've just had to rebuild the dashboards 1:1 manually.

@LizaD @bhavyarm is there any workaround?

---

<div class="post-metadata">

**Author:** ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)\
**Post date:** [September 26, 2019, 5:35pm UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834/7 "2019-09-26T17:35:27Z")

</div>

I checked with our dev team and they said we don't support downgrade patterns, only upgrade.

---

<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 24, 2019, 5:35pm UTC](https://discuss.elastic.co/t/saved-items-import-export-json-ndjson-discrepancy/199834/8 "2019-10-24T17:35:32Z")

</div>

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