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?
- Somehow add the ability to add aggregations right from the filter bar with this plugin. This might allow to add/merge the relevant filter aggregation. Seems pretty cool but pretty complicated.
- Adding support of filter aggregation to the existing filters. The question is wether to add them to the new supported filters in Kibnana 6.1+ or the external open-sourced filters.
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?