# Not possible to create Index patterns in Kibana

**URL:** <https://discuss.elastic.co/t/not-possible-to-create-index-patterns-in-kibana/185591>\
**Category:** Kibana\
**Created:** [June 13, 2019, 9:05am UTC](https://discuss.elastic.co/t/not-possible-to-create-index-patterns-in-kibana/185591 "2019-06-13T09:05:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![albgus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/albgus/32/88012_2.png) [@albgus](https://discuss.elastic.co/u/albgus)\
**Post date:** [June 14, 2019, 8:48am UTC](https://discuss.elastic.co/t/not-possible-to-create-index-patterns-in-kibana/185591/5 "2019-06-14T08:48:56Z")

</div>

I have set fielddata=true on the type field of the ".kibana" index now, and now I do not get any error when if I query Saved Objects, and there is no Exception in the Elasticsearch logs anymore, so far so good.

Although I can still not use any saved index patterns. Neither through Discover or even see them listed in Saved Objects. I can find the created index pattern object if I query Elasticsearch directly though..

* * *

UPDATE: Problem solved!

I did another attempt and instead of setting fielddata=true, set the type of the type field to keyword instead of text, and now it works!

Essentially I had to GET the mapping from Elasticsearch, edit the mapping, stop kibana, delete .kibana, .kibana\_1, .kibana\_2, then recreate a new Kibana index. After that it works when Kibana is started. Note that this will reset all kibana settings though.

---

_[View the full topic](https://discuss.elastic.co/t/not-possible-to-create-index-patterns-in-kibana/185591)._
