-
Notifications
You must be signed in to change notification settings - Fork 14
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
Table doesn't apply queries properly #8
Comments
Here are JSONs from Original Kibana with ES 1.7
Custom Kibana3 with ES 5.6
|
Also from me: thanks for the excellent work! This bug here (which I think is a dupe of #4) disturbs me. I think I found the reason. It's happening (for me) always when I have both QUERY and FILTER restrictions - which is almost always the case Panels work because there the QUERY parts from Kibana is applied with a SHOULD in the ES query, while the FILTER parts are applied as filtered aggregations to the aggs themselves In the table however the part from Kibana FILTER and QUERY are applied within one big bool filter. And per the documentation https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html a SHOULD term in such a combination is only used for scoring, but not really for filtering I will try to come up with a pull request |
@jammann I forked your branch with fixes and it works fine for me. Table now only shows data from query as expected. Thanks for addressing it! |
Hi, thanks a lot for your work! I tried your kibana3 fork with the latest ES 5.6 and it works great. However I noticed that
table
doesn't apply queries the same way as other panels e.g. if you add new query all panels will render results according to the query but not table panel. Table will have query related results in the top followed by all other docs making it up to 500 (default limit). It works fine with filters though, just not with queries.I can probably have a look too and send you a pul request just let me know where to start.
Thanks!
The text was updated successfully, but these errors were encountered: