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:
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?
So you're using the filters aggregation, which is a type of bucket aggregation. So that will give you the number of success and errors. If you want to find this count per user, you can use a top level query, like this:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.