We are using this below code to trigger email/webhook actions once the threshold is met.
But we are getting n no.of hits in one single email.
Example our threshold has met with10 documents. So 10 emails/webhook has to be triggered. But our code is triggering all 10 documents in One single email.
Our requirement is to trigger all those above documents in individual emails/webhook.
Looks like in Index threshold we can't integrate matching a phrase??
Please help us here.. we have been stuck from many days. Struggling to resolve the issue
To achieve the behavior you want, you will need to upgrade and then you can group by your unique ID. The grouping behavior for ES Query will be released in 8.7, so unfortunately you will have to wait until then.
we are trying to trigger individual email actions in watcher for each document hits.
Is this possible in watchers?
How to write loop in email actions kibana watchers ?
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.