Filter by Count in Datatable

I have a simple data table of events with the count of stages.

image

In my example, a count of '7' indicates that the process has completed all stages.
I want to filter this table for rows with a count <> 7.

I have seen the "min_doc_count" option (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#_minimum_document_count_4) which is similar to what I want to achieve but not exactly (as this would only identify events which have > 7 but I can not identify anything < 7 using this)

Any one know if I'm able to achieve what I'm after?

Thanks,
C

It's not easily done right now. Here's an answer to a similar question that gives some options.

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