[JSON Input] Is there a max_doc_count filtering function similar to min_doc_count?

Hi there,
I was wondering if there is a max_doc_count with the opposite behaviour of min_doc_count.

I was trying to show in a Kibana 6.1 Data Table visualization only the terms that sums up to a maximum number of 1 hits and puzzling on what to write on JSON Input...
I used a Sum Bucket aggregation and a Terms aggregation.

It looks like that doesn't exist in Elasticsearch. My guess is that feature isn't available because to get that kind seems like it would have a high impact on node performance.

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