# How to config, bug watcher alert email on Elasticsearch

**URL:** https://discuss.elastic.co/t/how-to-config-bug-watcher-alert-email-on-elasticsearch/86754
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [May 23, 2017, 4:00am UTC](https://discuss.elastic.co/t/how-to-config-bug-watcher-alert-email-on-elasticsearch/86754 "2017-05-23T04:00:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![H\_c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/h_c/32/16759_2.png) [@H\_c](https://discuss.elastic.co/u/H_c)
#### Post date: [May 23, 2017, 4:00am UTC](https://discuss.elastic.co/t/how-to-config-bug-watcher-alert-email-on-elasticsearch/86754/1 "2017-05-23T04:00:57Z")

</div>

I added:  
watcher.actions.email.service.account:  
gmail\_account:  
profile: gmail  
email\_defaults:  
from: 'alerts [elasticsstack@gmail.com](mailto:elasticsstack@gmail.com)'  
smtp:  
auth: true  
starttls.enable: true  
host: [smtp.gmail.com](http://smtp.gmail.com)  
port : 578  
user: [elasticsstack@gmail.com](mailto:elasticsstack@gmail.com)  
password: 123@123a  
on the elasticsearch.yml and did not start the elasticsearch!  
Please help me!

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 23, 2017, 4:22am UTC](https://discuss.elastic.co/t/how-to-config-bug-watcher-alert-email-on-elasticsearch/86754/2 "2017-05-23T04:22:08Z")

</div>

Please format your code using the code tags, it's impossible to see what the problem is here as yaml is space sensitive.

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [May 23, 2017, 6:42am UTC](https://discuss.elastic.co/t/how-to-config-bug-watcher-alert-email-on-elasticsearch/86754/3 "2017-05-23T06:42:00Z")

</div>

also, please copy&paste the exception returned by elasticsearch, after you reformatted your code - which is especially important here, because we are relying on indentations.

In addition also specify the Elasticsearch version you are using.

---

<div class="post-metadata">

### Author: ![H\_c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/h_c/32/16759_2.png) [@H\_c](https://discuss.elastic.co/u/H_c)
#### Post date: [May 24, 2017, 6:50am UTC](https://discuss.elastic.co/t/how-to-config-bug-watcher-alert-email-on-elasticsearch/86754/4 "2017-05-24T06:50:48Z")

</div>

> [@warkolm](#):
>
> ease format your code using the code tags, it's impossible to see what the problem is here as yaml is space sensitive.

thank you. I am finder bug. it is watcher.actions  
i'm using elasticsearch 5.x . 😃 it is x-pack.actions

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 24, 2017, 8:50am UTC](https://discuss.elastic.co/t/how-to-config-bug-watcher-alert-email-on-elasticsearch/86754/5 "2017-05-24T08:50:36Z")

</div>

That is not a bug,.

---

<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: [June 21, 2017, 8:50am UTC](https://discuss.elastic.co/t/how-to-config-bug-watcher-alert-email-on-elasticsearch/86754/6 "2017-06-21T08:50:43Z")

</div>

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