Alert notifications per document returned?

At the moment I have a monitor defined in an alert which might return say 10 documents that match some criterial over a 1 minuite period. I then have a trigger defined which will fire if the number of documents returned is gte to 1.

If the trigger fires, it will send a single notification and in the message body iterate over the 10 documents.

But there is now a requirement to receive 10 individual notifications, one for each ‘hit’.

I can’t think of a way to support or achieve this request - any ideas on if this is possible and how it much be achieved?

Thanks.

Hi, it seems like document level monitors is exactly what you need for your use case. This has been introduced in OpenSearch 2.0.

Please take a look at this blog post about it to understand more of the feature.

2 Likes