Open rmoff opened 3 years ago
In the Kibana log I saw this when I went to the Index Patterns home page
{
"type": "log",
"@timestamp": "2021-01-07T09:05:44Z",
"tags": [
"error",
"elasticsearch",
"data"
],
"pid": 8,
"message": "[search_phase_execution_exception]: all shards failed"
}
Since this was just a test environment I tore down Kibana and Elasticsearch containers, deleted the local data volume for the containers, and brought them back up. After that … it worked fine.
Whilst it looks like there was something odd with my deployment that is now fixed, it would be nice to improve the UX so that the user is told that something's not right instead of being stuck in an endless loop of "you need to create an index pattern, ok I'll create an index pattern, you need to create an index pattern, etc."
Pinging @elastic/kibana-app-services (Team:AppServices)
@mattkime, looks like error handling when creating an index pattern needs improvement. I wonder if this is fixed in new index pattern management so this can be closed?
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
Kibana version:
7.10.0
Elasticsearch version:
7.10.0
Server OS version:
docker.elastic.co/elasticsearch/elasticsearch:7.10.0
Browser version:
Chrome Version 87.0.4280.88 (Official Build) (x86_64)
Browser OS version:
Mac 10.15.7 (19H15)
Original install method (e.g. download page, yum, from source, etc.):
Describe the bug:
When I create an index pattern in Kibana it's not saved, but there's no error given.
Steps to reproduce:
Create index pattern
Next step
Time field
.Create index pattern
Index patterns
underKibana
on the sidebar. No index patterns are listed (You have data in Elasticsearch. Now, create an index pattern.
). Force-refresh page. Still no index patterns listedExpected behavior:
When I create an index pattern I expect it to be saved if successful, or an error thrown in the UI if it was unsuccessful.
Screenshots (if relevant):
https://user-images.githubusercontent.com/3671582/103871397-e9b99d80-50c4-11eb-900c-c04580967377.mp4
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
kib.log
Any additional context: