How to implement 'AND' 'OR' controls in Control Visualization?


(LogSpree) #1

My dashboard is like this :

I want to implement an AND OR selection feature on each of the controls, i.e. there will be 2 category and 2 campaign selections. So, for example, user visualise records that contain category 170867 as well as records under category 170868 using AND condition.


(Aaron Caldwell) #2

Hello,

I'm not entirely sure I understand but it sounds like you're looking for bool search capability which you can find documentation for here:

https://www.elastic.co/guide/en/elasticsearch/reference/6.6/query-dsl-bool-query.html

Regards,
Aaron


(LogSpree) #3

Yes, but how to implement this in Visualisation? I need the variables to take values from Dashboard and push the filtered data into Kibana for visualisation.

Could you help with this? I'm thinking timelion ... but even there we need to fetch values from selections made on Dashboard (dynamically).