# Issues configuring Kibana Watcher SMTP Server

**URL:** <https://discuss.elastic.co/t/issues-configuring-kibana-watcher-smtp-server/286772>\
**Category:** Kibana\
**Created:** [October 14, 2021, 7:24pm UTC](https://discuss.elastic.co/t/issues-configuring-kibana-watcher-smtp-server/286772 "2021-10-14T19:24:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fran\_mindlbs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fran_mindlbs/32/95911_2.png) [@Fran\_mindlbs](https://discuss.elastic.co/u/Fran_mindlbs)\
**Post date:** [October 14, 2021, 7:24pm UTC](https://discuss.elastic.co/t/issues-configuring-kibana-watcher-smtp-server/286772/1 "2021-10-14T19:24:56Z")

</div>

Like the ones before me, I've been running in circles for the last few days haha.  
When I modify the user settings with my SMTP server (SendGrid) in the `elastic.yml` file, I get a "this changes are not allowed".  
I don't know if my settings are wrong or that feature is deprecated.  
I've followed all the available documentation but nothing. (xpack-watcher.actions, etc).

I also found this related topic:

> [@Trouble configuring Gmail SMTP with Watcher](https://discuss.elastic.co/t/trouble-configuring-gmail-smtp-with-watcher/168119):
>
> I have been going in circles for the past few hours trying to set up alerting with Watcher in Elasticsearch. I would greatly appreciate if someone could help me troubleshoot. There is an error at the time that Elasticsearch tries to send an email through Google's SMTP server. I am seeing this in the watch execution output: Couldn't connect to host, port: smtp.gmail.com, 587; timeout 120000 Here is my Elasticsearch configuration: Here is my watch: Here is the error output when the act…

My question is if the automatic monitoring email service via SMTP is deprecated? or maybe my elastic cloud deployment is not compatible (v7.13.3) ?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [October 18, 2021, 9:34am UTC](https://discuss.elastic.co/t/issues-configuring-kibana-watcher-smtp-server/286772/2 "2021-10-18T09:34:25Z")

</div>

> [@Fran\_mindlbs](#):
>
> When I modify the user settings with my SMTP server (SendGrid) in the `elastic.yml` file, I get a "this changes are not allowed".

Can you give me the exact setting name you're trying to set in Cloud? If I know the setting I can try to figure out what's going on.

Best,  
Oleg

---

<div class="post-metadata">

**Author:** ![Fran\_mindlbs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fran_mindlbs/32/95911_2.png) [@Fran\_mindlbs](https://discuss.elastic.co/u/Fran_mindlbs)\
**Post date:** [October 20, 2021, 1:31pm UTC](https://discuss.elastic.co/t/issues-configuring-kibana-watcher-smtp-server/286772/3 "2021-10-20T13:31:28Z")

</div>

Hi Oleg!  
I was using this config:

```auto
watcher.actions.email.service.account:
  sendgrid_account:
    profile: sendgrid
    smtp:
      auth: true
      starttls.enable: true
      host: smtp.sendgrid.net
      port: 587
      apikey: ******
      password: ***********

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1f6af6fa8d219632cca4391abe9847fd50f3ac98.png)  
I've also tried xpack. instead of watcher.actions.  
Hope you can help me figure this out.  
Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 17, 2021, 1:32pm UTC](https://discuss.elastic.co/t/issues-configuring-kibana-watcher-smtp-server/286772/4 "2021-11-17T13:32:21Z")

</div>

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