Applied the email settings using cluster update settings API and able to send mails when set up a custom watch using raw JSON. Here's screen shot of cluster settings:
Taking cue from this this thread, I am assuming, this shall enable to set up watch from Kibana to send mails on alerts.
(I have restarted the cluster also)
But if I create a watch from Kibana, I still see this:
Disabled. Configure elasticsearch.yml
Please let me know if my approach is right or something missing here?
P.S: we would prefer to set the mail/hipchat settings etc. via API than changing the elasticsearch.yml file
Thanks in advance for help.