# Why does the mapping of Kibana index change after 6.0

**URL:** https://discuss.elastic.co/t/why-does-the-mapping-of-kibana-index-change-after-6-0/116782
**Category:** Kibana
**Created:** [January 24, 2018, 1:57am UTC](https://discuss.elastic.co/t/why-does-the-mapping-of-kibana-index-change-after-6-0/116782 "2018-01-24T01:57:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![supergunme](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@supergunme](https://discuss.elastic.co/u/supergunme)
#### Post date: [January 24, 2018, 1:57am UTC](https://discuss.elastic.co/t/why-does-the-mapping-of-kibana-index-change-after-6-0/116782/1 "2018-01-24T01:57:58Z")

</div>

previously I got a problem. and I posted it in Elastic forum.

"I used python to import/export index-pattern and other saved objects automatically. Even there were some changes in each version, but mostly the script worked fine. However, in Elastic 6.1 (es and kibana), after I imported all those to ElasticSearch, I found Kibana could not display index-pattern, even all data was ingested in ".kibana" index. Kibana requested a new index pattern creation. But if I imported some data and created an index pattern in Kibana manually, then ran script to import all, everything was back. and I can remove sample index-pattern and view dashboard or visualization. I compared the ".kibana" index for both scenario, hardly pointing out where was different. Someone can help on this case? Or could someone tell me what are changes between Kibana 6.0 and 6.1?"

finally I realized the issue was because of Kibana mapping. The mapping of ".kibana" has changed between 6.0 and 6.1.  
Can anyone tell me the further impact if we still use the mapping of 6.0 version please?

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [January 24, 2018, 4:39pm UTC](https://discuss.elastic.co/t/why-does-the-mapping-of-kibana-index-change-after-6-0/116782/2 "2018-01-24T16:39:47Z")

</div>

If you're wanting to programmatically update the data persisted by Kibana I would suggest using the API outlined in this pull request: [https://github.com/elastic/kibana/pull/11632](https://github.com/elastic/kibana/pull/11632)

The mapping and underlying data structure can change, so this API will provide consistency between versions.

---

<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: [February 21, 2018, 4:39pm UTC](https://discuss.elastic.co/t/why-does-the-mapping-of-kibana-index-change-after-6-0/116782/3 "2018-02-21T16:39:49Z")

</div>

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