Hello,
Can you look at the log of your elasticsearch when you try to access the Saved Object (to visualize your index-pattern) ?
And check if you have Fielddata error on the index .kibana
(the index is created but kibana can't perform any search on it)
This seems to be the same case as :
I am having issues creating Index patterns in Kibana. When I save the index pattern it first appears in the UI, but as soon as I navigate from the page it disappears. If I query the .kibana index trough the dev tools, I can see that there appears to be a Index pattern created, but Kibana doesn't seem to be able to query it.
I belive that this error message is related to the issue, as I see it right after creating the index pattern:
kibana: {"type":"response","@timestamp":"2019-06-13T08:40:12Z"…
Kibana: 7.0.1
ES: 7.0.1
When i create index pattern in Kibana, it can load the fields in the indexes. However, when i go to discovery page, it prompts me "In order to visualize and explore data in Kibana, you'll need to create an index pattern to retrieve data from Elasticsearch."
I can reload this index pattern by ID like this though:
/app/kibana#/management/kibana/index_patterns/83c2bf60-7188-11e9-8feb-fd1dd5f8f608?_g=()&_a=(tab:indexedFields)
Any advise?
I created an issue on github on this :
opened 11:29AM - 02 Jul 19 UTC
closed 10:35AM - 16 Jul 19 UTC
bug
Team:Core
Feature:Saved Objects
**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"}}`