# Kibana 4.1.11 export/import

**URL:** <https://discuss.elastic.co/t/kibana-4-1-11-export-import/80727>\
**Category:** Kibana\
**Created:** [March 30, 2017, 6:02pm UTC](https://discuss.elastic.co/t/kibana-4-1-11-export-import/80727 "2017-03-30T18:02:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfindley](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sfindley](https://discuss.elastic.co/u/sfindley)\
**Post date:** [March 30, 2017, 6:02pm UTC](https://discuss.elastic.co/t/kibana-4-1-11-export-import/80727/1 "2017-03-30T18:02:14Z")

</div>

I am trying to export everything from one Kibana instance, then import the exported json file into a new (clean) Kibana instance. When I do so, I get an import failure:

Error: Could not locate that search (id: QA-Authentication)  
at SavedObject.self.applyESResp ([http://localhost:5601/index.js?\_b=7668:91145:54](http://localhost:5601/index.js?_b=7668:91145:54))  
at wrappedCallback ([http://localhost:5601/index.js?\_b=7668:20893:81](http://localhost:5601/index.js?_b=7668:20893:81))  
at [http://localhost:5601/index.js?\_b=7668:20979:26](http://localhost:5601/index.js?_b=7668:20979:26)  
at Scope.$eval ([http://localhost:5601/index.js?\_b=7668:22022:28](http://localhost:5601/index.js?_b=7668:22022:28))  
at Scope.$digest ([http://localhost:5601/index.js?\_b=7668:21834:31](http://localhost:5601/index.js?_b=7668:21834:31))  
at Scope.$apply ([http://localhost:5601/index.js?\_b=7668:22126:24](http://localhost:5601/index.js?_b=7668:22126:24))  
at done ([http://localhost:5601/index.js?\_b=7668:17661:45](http://localhost:5601/index.js?_b=7668:17661:45))  
at completeRequest ([http://localhost:5601/index.js?\_b=7668:17875:7](http://localhost:5601/index.js?_b=7668:17875:7))  
at XMLHttpRequest.xhr.onreadystatechange ([http://localhost:5601/index.js?\_b=7668:17814:11](http://localhost:5601/index.js?_b=7668:17814:11))

Examination of the export json data shows a **search object** with the ID QA-Authentication (at line 62).

```
"_id": "QA-Authentication",
"_type": "search",
"_source": {
  "title": "Authentication",
  "description": "",
  "hits": 0,
  "columns": [
    "host",
    "message"
  ],
  "sort": [
    "@timestamp",
    "asc"
  ],
  "version": 1,
  "kibanaSavedObjectMeta": {
    "searchSourceJSON": "{\n \"index\": \"[logstash-]YYYY.MM.DD.HH\",\n \"query\": {\n \"query_string\": {\n \"query\": \"host:(stg AND 98) AND path:(csg.log cm.log) AND host:(qadragon) AND message:(LINFO) AND message:(c.p.p.c.s.a.CmAuthenticationRestService) AND message:(\\\"authenticate\\\")\",\n \"analyze_wildcard\": true\n }\n },\n \"highlight\": {\n \"pre_tags\": [\n \"@kibana-highlighted-field@\"\n],\n \"post_tags\": [\n \"@/kibana-highlighted-field@\"\n],\n \"fields\": {\n \"*\": {}\n },\n \"fragment_size\": 2147483647\n },\n \"filter\": []\n}"
  }
}

```

},

The problem is pretty consistent.

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [March 30, 2017, 11:43pm UTC](https://discuss.elastic.co/t/kibana-4-1-11-export-import/80727/2 "2017-03-30T23:43:05Z")

</div>

There's a known issue about that;

> <https://github.com/elastic/kibana/issues/10732>

I think you can proceed if you try importing the whole set again. You'll get warnings for each thing that already exists. You can pick either to replace or not, it shouldn't matter. But in the end, all the objects should be there and work.

NOTE: Exporting saved objects does not export the index pattern. So you would have to manually create the index pattern(s) first on the new clean Kibana instance.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![sfindley](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sfindley](https://discuss.elastic.co/u/sfindley)\
**Post date:** [March 31, 2017, 3:57pm UTC](https://discuss.elastic.co/t/kibana-4-1-11-export-import/80727/3 "2017-03-31T15:57:44Z")

</div>

Thanks Lee, I was able to get things working. Good tip about the index  
patterns not being exported.  
Sean

---

<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:** [April 28, 2017, 3:58pm UTC](https://discuss.elastic.co/t/kibana-4-1-11-export-import/80727/4 "2017-04-28T15:58:11Z")

</div>

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