New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index Pattern wizard does not work on empty indices #15666
Comments
I have the same issue with version 6.1.0. I went back to version 6.0.1, and everything works like it did before. |
@skearns64 Thoughts on this? Should we support this? We can probably add some kind of option that is like "Yes, I know this index does not exist and I still want to make the index pattern" |
Actually, it does exist but it's empty @chrisronline |
Yea, in this case (the index exists, but is empty), I believe should allow the index pattern to be created. I believe this issue is caused by the way we search for index names today [1] - we do one search and aggregate on the _index response. If there are no documents in the matching index, it doesn't show up in the response, because there is nothing to aggregate on. I wonder if we could either make a second request to retrieve the mappings for the specific index, or try an approach that doesn't require the search + aggregate (though I recall this approach having security and possibly performance advantages). Would something like a [1] |
Definitely worth looking into. I can take a pass later this week |
If you are looking for just an existence check on a single index, |
+1 waiting for the fixing of the issue asap as according to my project structure I need to have all my indexes imported in Kibana even empty. |
@tavagyan-bb If you're in a hurry, note that it's perfectly possible to create index patterns on empty indices in Kibana by adding documents to |
I was wondering why it wasn't picking up my index like it did back when I last used ELK, in 4.0 days. The index does exist, it just doesn't have anything in it. |
This problem occurs also in Kibana version 6.5.4. Is this problem fixed? Can you please mention in which version? |
So what the status of this, how I can disable this warning/error? I'm on |
Pinging @elastic/kibana-app-arch |
addressed by #70271 |
I am having the same issue. |
Kibana version: 6.1.0
Description of the problem including expected versus actual behavior:
The new Index Patterns wizard does not allow me to continue unless I have data in my indices. I'd like to import some dashboards/viz/saved searches into Kibana before putting actual data there but to import successfully, the index pattern has to exist. In 5.x I could define a pattern in Kibana before putting any data into the indices.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: