Multi-selection filters

Hello all,
I have a plugin requirement to allow multi selection field filtering (such as OR on the filter bar filters, similar to how it would be done when filtering on excel ). I understand that this is not supported.
Currently I am using the https://github.com/AnnaGerber/kibana_dropdown plugin which adds a filter to the filter bar from a value selection on a combo. The approach that I am thinking of is to extend it, allowing multi-selection and instead of adding filters, update the query in a single filter in the the filter bar programatically by adding a Bool query which will simulate an OR filtering.
My question is:

  • Is there a better approach? Is there a known plugin that can do the work?

  • How do I update the filter query? I am taking a look at queryFilter.updateFilter method but it is not so clear. Can someone give me directions/examples?

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.