-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Open Discussion] Kibana Input Controls With Nested Support #91
Comments
Hmm.. I know that filters in Discover support nested fields, as I added that support. I may have missed this functionality in the dashboard and didn't properly test for it. Since the code I injected was put into the general filters javascript support I think I assumed it would work everywhere. Obviously I was mistaken. |
The support for nested clauses is actually everywhere. Even in the dashboard filters. The problem is with somehow adding filter aggreggatios: nested aggregation clauses are seemly added when needed, but there is no place where I can add a proper filter aggregation afterwards to filter out unnecessary terms. |
The issue is open in v 7.9.1. |
Background:
Since Kibana 6.1, interactive input controls for filtering data in dashboard are supported out-of-the-box. The controls are dropdown filter (for strings) and slicer filter (for numbers/dates).
There are some open-source controls to previous and even current Kibana versions, here are some of them:
Problem:
The filters were desgined for extracting values from flat documents. Non of the filters (as far as I could see, please fix me if i'm wrong) support filter aggregations. This is crutial for not only finding the documents with the relevant nested values, but also to filter some of them out.
Examples are shown below.
Kibana visualization:
.
Kibana dropdown filter only allows matching terms by index pattern. Does the filter bar even supports aggregations? Or nested clauses (nested query, inner hits)? Tried to add some filters, but it didn't change the results.
Open-Source visualization:
I have tested some of the external plugins out. With the support of this great plugin, additional nested clauses are added seemesly to existing queries they produce. But no filter aggregation is available (one type of aggregation only is supported).
Discussion:
Is there a workaround?
The text was updated successfully, but these errors were encountered: