Custom Elasticsearch Aggregations for Machine Learning Jobs | Elastic Blog