# 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:** 21

<div class="post-metadata">

**Author:** ![TanguyB](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguyb/32/47408_2.png) [@TanguyB](https://discuss.elastic.co/u/TanguyB)\
**Post date:** [July 2, 2019, 10:34am UTC](https://discuss.elastic.co/t/kibana-7-cant-load-index-pattern/180167/21 "2019-07-02T10:34:04Z")

</div>

Hello,

I'm facing the same issue, index-pattern present in the index .kibana ( I can get them when curling elastic) however when I tried to access "Saved Object"kibana return a 400 Bad Request.

And elasticsearch have error logs that pop at the same time :

> Caused by: java.lang.IllegalArgumentException: Fielddata is disabled on text fields by default. Set fielddata=true on [type] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead

So it seems that the template for .Kibana isn't correct ?  
As we are a lot facing this, I opened a github issue on this :

> <https://github.com/elastic/kibana/issues/40133>
>
> \*\*Kibana version:\*\* 7.1.1
> 
> \*\*Elasticsearch version:\*\* 7.1.1
> 
> \*\*Original inst…all method (e.g. download page, yum, from source, etc.):\*\*
> Install from scratch with yum, generic configuration, 100% automatic.
> Cluster ES 3 nodes
> 
> \*\*Describe the bug:\*\*
> 
> Kibana seems to have an issue on it's index .kibana at creation :
> When trying to access the Saved Object, Kibana return 400 Bad Request error, and Elasticsearch throw FieldData error on .kibana index
> 
> I can create and find my index-pattern using the API, but Kibana isn't able to find them as it's search request got the FieldData exception.
> 
> \*\*NOTE\*\* : This issue seems a bit random, it happen on one out of the three clusters I created today (since we are in 7+), all created the same way with scripts. 
> 
> \*\*NOTE\*\* : I found a post on the elastic forums where 6+ people seems to have the same behavior since 7+
> https://discuss.elastic.co/t/kibana-7-cant-load-index-pattern/180167
> 
> I'll create more clusters tomorrow to observe more the frequency of this issue.
> 
> \*\*Provide logs and/or server output (if relevant):\*\*
> 
> Elastic log when I refresh the Saved Objects page :
> 
> \`\`\`
> \[2019-07-02T11:08:48,327\]\[DEBUG\]\[o.e.a.s.TransportSearchAction\] \[elastic01\] \[.kibana\]\[0\],
> node\[RmpqDbnZTMmmrGTVe5sOZA\], \[R\], s\[STARTED\], a\[id=UOCFUQwpREy44aF76avXfw\]:
> Failed to execute \[SearchRequest{searchType=QUERY\_THEN\_FETCH, indices=\[.kibana\], 
> indicesOptions=IndicesOptions\[ignore\_unavailable=false,
> 
> ...
> 
> Caused by: java.lang.IllegalArgumentException: Fielddata is disabled on text fields by default.
> Set fielddata=true on \[type\] in order to load fielddata in memory by uninverting the inverted 
> index. Note that this can however use significant memory. Alternatively use a keyword field 
> instead. 
> \`\`\`
> 
> 
> Index-pattern present in the saved object and curl GET work, but Kibana can't find it as it get hit by the FieldData error
> \`curl -X GET "http://localhost:5601/api/saved\_objects/index-pattern/filebeat-ulf" -H 'kbn-xsrf: true'\`
> 
> \`{"id":"filebeat-ulf","type":"index-pattern","updated\_at":"2019-07-02T11:07:17.553Z","version":"WzUsMV0=","attributes":{"title":"filebeat-7.1.1-ulf-\*","timeFieldName":"@timestamp"},"references":\[\],"migrationVersion":{"index-pattern":"6.5.0"}}\`

---

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