Need help to configure the details that are using in custom web hook to send email alerts

Hi Team,

I am using open distro Kibana and trying to send email notifications through Alerting mechanism. Here I choose Custom web hook for notification. I have host and port details only. I do not know other field details like path and type etc. Could you please help me with this scenario?

Thanks in advance.

Regards,
Sajjith

hi @sajjithreddy, If you want to use email notifications follow these steps: https://opendistro.github.io/for-elasticsearch-docs/docs/alerting/monitors/#email-as-a-destination

Thank you Sriram for the document.

I have created monitor, trigger and those jobs are giving proper outputs. In the destination I have given custom endpoint and authorization key, values as well. My endpoint(POST) body would be in “form data” and looks like below.

details: {
“to”: [
abc@gmail.com
],
“cc”: [
abc@gmail.com
],
“from”: “abc@gmail.com”,
“subject”: “Kibana emails”,
“bodyAsHtml”: “

my test message


}

How can I insert my trigger output in the above json and configure in the email template??

Please provide your inputs…

Thanks,
Sajjith