Trying to filter Pie chart with minimum unique count of docs

I am trying to filter the kibana visualization here, and I want the chart to display only when the number of processes are more than two. My theory is that every process should have a unique hash, so if any hash has two different processes, then only it should display. The inside pie is the hash and the outer one is the process. I tried using min_doc_count:2, but the the issue is it display when there are more than 2 doc count, whereas what I want is it to display where there is more than 2 unique count of docs. Help appreciated :smiley:

Am tagging our viz team here: @ppisljar :slight_smile:
Bhavya would be a lot of help

this is unfortunately not possible at the moment, as kibana does not yet support bucket selector pipeline aggregation.

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