Filtering avec cardinality

Hello,
I am using ES 1.1.0 and i don't know how to filter result after the
cardinality aggregration.

is there a way to use something like 'min_value' to filter cardinality
aggregation ?

Here is an example

"aggs": {
"agg_login": {
"terms": {
"field": "login",
"size": 1000,
"min_doc_count": 5

        },
        "aggregations": {
            "agg_distinct_ip":{
                "cardinality": {
                    "field" : "ip_client",
                    "min_value": 5 
                },
            },
        }
    }

Note: the "min_value" function does not work, but that's what i need :slight_smile:

and i would like the result to be : login with count distint ip address
greater than 10

Thanks,

Christophe

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7a3ab04e-b591-439d-bcf6-48a240f55469%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,
i'm searching for quite the same usecase for a solution to return only buckets with a minimum value count, but didn't found any solution. Did you figure out a way to solve the problem?