Hello,
Is there a way to run the a metric aggregation (value count for example) on multiple filters. For example, I'm currently able to get the counts of successes and errors all users are getting with the following aggregation:
aggs = {
"f": {
"filters": {
"filters": {
"start_count": {"term": {"type": "Success"}},
"error_count": {"term": {"type": "Error"}}
}
},
"aggs": {
"counts": {"value_count": {"field": "type"}}
}
}
}
Now, lets say I wanted to get the count of success and errors for specific users Mary, Joe, and Tina. How would I use aggregations and filters to achieve this?
Thanks !