# Error when setting default index in Kibana 5.1

**URL:** <https://discuss.elastic.co/t/error-when-setting-default-index-in-kibana-5-1/75060>\
**Category:** Kibana\
**Created:** [February 14, 2017, 3:01pm UTC](https://discuss.elastic.co/t/error-when-setting-default-index-in-kibana-5-1/75060 "2017-02-14T15:01:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephenGoodall](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@StephenGoodall](https://discuss.elastic.co/u/StephenGoodall)\
**Post date:** [February 14, 2017, 3:01pm UTC](https://discuss.elastic.co/t/error-when-setting-default-index-in-kibana-5-1/75060/1 "2017-02-14T15:01:04Z")

</div>

Hi,  
I've recently taken a snapshot from a 2.3 cluster and restored it to a 5.1 cluster. (The AWS hosted service version ☹ )

When I go to Kibana and make a new index pattern it lets me, but if I try to set any index as the default one I get this error:  
`Config: Error 400 Bad Request: [mapper_parsing_exception] failed to find type parsed [multi_field] for [defaultIndex]`

Could this be due to .kibana having string and multi-field in the mappings?  
`{ ".kibana": { "mappings": { "index-pattern": { "_all": { "enabled": true }, "dynamic_templates": [{ "string_fields": { "match": "*", "match_mapping_type": "string", "mapping": { "fields": { "{name}": { "index": "analyzed", "omit_norms": true, "type": "string" }, "raw": { "ignore_above": 256, "index": "not_analyzed", "type": "string" } }, "type": "multi_field" } } }], "properties": { "@version": { "type": "keyword" }, "fieldFormatMap": { "type": "text" }, "fields": { "type": "text" }, "intervalName": { "type": "text" }, "notExpandable": { "type": "boolean" }, "sourceFilters": { "type": "text" }, "timeFieldName": { "type": "text" }, "title": { "type": "text" } } }, "_default_": { "_all": { "enabled": true }, "dynamic_templates": [{ "string_fields": { "match": "*", "match_mapping_type": "string", "mapping": { "fields": { "{name}": { "index": "analyzed", "omit_norms": true, "type": "string" }, "raw": { "ignore_above": 256, "index": "not_analyzed", "type": "string" } }, "type": "multi_field" } } }], "properties": { "@version": { "type": "keyword" } } }, "server": { "_all": { "enabled": true }, "dynamic_templates": [{ "string_fields": { "match": "*", "match_mapping_type": "string", "mapping": { "fields": { "{name}": { "index": "analyzed", "omit_norms": true, "type": "string" }, "raw": { "ignore_above": 256, "index": "not_analyzed", "type": "string" } }, "type": "multi_field" } } }], "properties": { "@version": { "type": "keyword" }, "uuid": { "type": "keyword" } } }, "config": { "_all": { "enabled": true }, "dynamic_templates": [{ "string_fields": { "match": "*", "match_mapping_type": "string", "mapping": { "fields": { "{name}": { "index": "analyzed", "omit_norms": true, "type": "string" }, "raw": { "ignore_above": 256, "index": "not_analyzed", "type": "string" } }, "type": "multi_field" } } }], "properties": { "@version": { "type": "keyword" }, "buildNum": { "type": "keyword" } } } } } }`

I've tried deleting the .kibana index but when it gets rebuilt it seems to get the same mappings, do I need to override them somehow?

Thanks!

---

<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:** [February 14, 2017, 11:40pm UTC](https://discuss.elastic.co/t/error-when-setting-default-index-in-kibana-5-1/75060/2 "2017-02-14T23:40:45Z")

</div>

Deleting the index also removes the mapping. What version of Kibana are you running?

---

<div class="post-metadata">

**Author:** ![StephenGoodall](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@StephenGoodall](https://discuss.elastic.co/u/StephenGoodall)\
**Post date:** [February 15, 2017, 10:20am UTC](https://discuss.elastic.co/t/error-when-setting-default-index-in-kibana-5-1/75060/3 "2017-02-15T10:20:32Z")

</div>

Hi Tyler ,  
It's Version: 5.1.1  
Could it be something to do with restoring the snapshot, as that will have included the .kibana index from version 4?  
Thanks 🙂

---

<div class="post-metadata">

**Author:** ![StephenGoodall](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@StephenGoodall](https://discuss.elastic.co/u/StephenGoodall)\
**Post date:** [February 15, 2017, 11:29am UTC](https://discuss.elastic.co/t/error-when-setting-default-index-in-kibana-5-1/75060/4 "2017-02-15T11:29:54Z")

</div>

I just deleted \_template/\* and deleted .kibana and now it works, I think my "default" template must have multi field in it. I'll look into converting that to an ES 5.1 equivalent, using fields I think?

---

<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 15, 2017, 11:30am UTC](https://discuss.elastic.co/t/error-when-setting-default-index-in-kibana-5-1/75060/5 "2017-03-15T11:30:07Z")

</div>

Closed on March 15, 2017, 11:30am UTC

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