# Kibana 7 can't load index pattern

**URL:** <https://discuss.elastic.co/t/kibana-7-cant-load-index-pattern/180167>\
**Category:** Kibana\
**Created:** [May 8, 2019, 12:02pm UTC](https://discuss.elastic.co/t/kibana-7-cant-load-index-pattern/180167 "2019-05-08T12:02:29Z")\
**Posts on this page:** 1\
**Showing post:** 19

<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, 9:08am UTC](https://discuss.elastic.co/t/kibana-7-cant-load-index-pattern/180167/19 "2019-06-14T09:08:39Z")

</div>

I had the same / a similar issue. It seems that Kibana sets the wrong type on the type field in it's index mapping. It sets it as text instead of keyword which I guess means that Elasticsearch will not reliably return exact matches when querying for Saved objects of a specific type.

> [@Not possible to create Index patterns in Kibana](https://discuss.elastic.co/t/not-possible-to-create-index-patterns-in-kibana/185591/5):
>
> 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 fieldda…

---

_[View the full topic](https://discuss.elastic.co/t/kibana-7-cant-load-index-pattern/180167)._
