How to apply condition on the aggregation bucket group_doc hits

Is their any way to apply condition on the aggregation bucket group_doc hits in watcher Elastic search?

Yes, you need to use a script condition though and write a small painless script. See the examples repo for a few examples

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