How to get meassages and send them by email

In the watcher, how to get all messages and send them by email

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

"actions": {
"email_admin": {
"email": {
"profile": "standard",
"to": [
"tome-LH@qq.com"
],
"subject": "alert Watcher Notification",
"body": {
"html": "{{ctx.payload.hits.hits.0._source.message}}"
}
}
}
}

I want to receive multiple messages. I don't know how to set them,
ctx.payload.hits.hits.0._source.message----->I wrote it and received a message

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