# Error Importing Objects in Kibana 4.3.1 \[solved\]

**URL:** <https://discuss.elastic.co/t/error-importing-objects-in-kibana-4-3-1-solved/75800>\
**Category:** Kibana\
**Created:** [February 20, 2017, 10:31pm UTC](https://discuss.elastic.co/t/error-importing-objects-in-kibana-4-3-1-solved/75800 "2017-02-20T22:31:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstewart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mstewart/32/15812_2.png) [@mstewart](https://discuss.elastic.co/u/mstewart)\
**Post date:** [February 20, 2017, 10:31pm UTC](https://discuss.elastic.co/t/error-importing-objects-in-kibana-4-3-1-solved/75800/1 "2017-02-20T22:31:28Z")

</div>

All,

I have a standard gold image that includes a pre-configured ELK installation put together by another group. This is my first time working with the software, so I'm trying to see if I'm maybe I'm just doing something wrong.

There are two systems deployed from the same gold image, both with 4.3.1 build 9517 on them. I spent quite some time building and configuring the searches, visualizations, and dashboards that I want to use, and now I want to export them and copy them onto the second system. Nothing within the search/viz/dash data is in any way specific to the first installation so far as I am aware. Exporting the data completes without issue, and I can clearly read it in NotePad++.

When I attempt to import the data onto the second server, I get an error that says "Unable to get property 'service' of undefined or null reference", and the import fails immediately. In the More Details section, the following information appears.

> Saved Objects: Unable to get property 'service' of undefined or null reference  
> OK

> TypeError: Unable to get property 'service' of undefined or null reference  
> at Anonymous function ([https://puppetmaster:4441/bundles/kibana.bundle.js:97398:14](https://puppetmaster:4441/bundles/kibana.bundle.js:97398:14))  
> at Promise.try ([https://puppetmaster:4441/bundles/commons.bundle.js:60997:12](https://puppetmaster:4441/bundles/commons.bundle.js:60997:12))  
> at Anonymous function ([https://puppetmaster:4441/bundles/commons.bundle.js:60966:10](https://puppetmaster:4441/bundles/commons.bundle.js:60966:10))  
> at Promise.map ([https://puppetmaster:4441/bundles/commons.bundle.js:60965:8](https://puppetmaster:4441/bundles/commons.bundle.js:60965:8))  
> at $scope.importAll ([https://puppetmaster:4441/bundles/kibana.bundle.js:97397:12](https://puppetmaster:4441/bundles/kibana.bundle.js:97397:12))  
> at fn (Function code:2:286)  
> at Anonymous function ([https://puppetmaster:4441/bundles/kibana.bundle.js:97729:16](https://puppetmaster:4441/bundles/kibana.bundle.js:97729:16))  
> at Scope.prototype.$eval ([https://puppetmaster:4441/bundles/commons.bundle.js:43602:10](https://puppetmaster:4441/bundles/commons.bundle.js:43602:10))  
> at Scope.prototype.$apply ([https://puppetmaster:4441/bundles/commons.bundle.js:43702:14](https://puppetmaster:4441/bundles/commons.bundle.js:43702:14))  
> at reader.onload ([https://puppetmaster:4441/bundles/kibana.bundle.js:97728:14](https://puppetmaster:4441/bundles/kibana.bundle.js:97728:14))

I've attempted an Export Everything load, imports of just visualizations, searches, and dashboards. All show the same above error.

Any thoughts?

---

<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 22, 2017, 9:11pm UTC](https://discuss.elastic.co/t/error-importing-objects-in-kibana-4-3-1-solved/75800/2 "2017-02-22T21:11:35Z")

</div>

Have you created your index pattern in the second instance prior to importing?

---

<div class="post-metadata">

**Author:** ![mstewart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mstewart/32/15812_2.png) [@mstewart](https://discuss.elastic.co/u/mstewart)\
**Post date:** [February 23, 2017, 6:38pm UTC](https://discuss.elastic.co/t/error-importing-objects-in-kibana-4-3-1-solved/75800/3 "2017-02-23T18:38:10Z")

</div>

I'm approaching this from the end-use perspective, so forgive me if I'm not the most clear as I respond about the configuration. For example, I'd never heard of or seen anything about the Index Pattern before you asked. After a quick primer, I'm at least moderately familiar.

The system we're shipping is pre-configured with ELK already up and running, but effectively blank. As part of this, there is a single Index pattern (cleverly called _logstash-\*_, go figure) pre-loaded into the installation. I've made no adjustments to this setup as I didn't know it existed until now, and so both systems have an identical index pattern with identical parameters out of the box. As I understand it, this should have been successful, then. Theoretically, if I never mess with those parameters, all installations should be cross-compatible until I start adding scripted fields or modify the index settings.

As a result, I thought it was relating to the contents of my export files. To evaluate this, I went into Discover, ran a search for \*, exported that search as a saved search, and imported it onto the second box. Identical error as described above. Exploring the JSON file, the term 'service' does not appear in the file itself in any way, so I have to assume, based on what I understand, that this is an internal error of some sort?

Edit: changed 'security' to 'service', was looking at a document with the word Security on it and transferred it to my typing. 🙂

---

<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 23, 2017, 10:38pm UTC](https://discuss.elastic.co/t/error-importing-objects-in-kibana-4-3-1-solved/75800/4 "2017-02-23T22:38:16Z")

</div>

Are you able to add the exported JSON to this thread?

---

<div class="post-metadata">

**Author:** ![mstewart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mstewart/32/15812_2.png) [@mstewart](https://discuss.elastic.co/u/mstewart)\
**Post date:** [February 24, 2017, 4:15pm UTC](https://discuss.elastic.co/t/error-importing-objects-in-kibana-4-3-1-solved/75800/5 "2017-02-24T16:15:53Z")

</div>

Lukas,

I actually have some good news. The issue turned out to be heap sizes; for whatever reason, the Java heap size on the second Kibana installation was _drastically_ (as in a power of ten) lower than the first install. No idea why, but it was apparently too small to function properly. My colleague was digging into the problem with me, and discovered it this morning. After modifying the heap sizes, the import worked without issue. I have no idea why it wouldn't import even the tiniest bits of data (single-term searches and such), but still allowed me to do complex dashboards and visualizations without issue.

Thanks for your support.

---

<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 24, 2017, 4:16pm UTC](https://discuss.elastic.co/t/error-importing-objects-in-kibana-4-3-1-solved/75800/6 "2017-03-24T16:16:13Z")

</div>

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