# Configuring email server in yml file

**URL:** <https://discuss.elastic.co/t/configuring-email-server-in-yml-file/145194>\
**Category:** Kibana\
**Created:** [August 20, 2018, 2:57pm UTC](https://discuss.elastic.co/t/configuring-email-server-in-yml-file/145194 "2018-08-20T14:57:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark-otcxn](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mark-otcxn](https://discuss.elastic.co/u/mark-otcxn)\
**Post date:** [August 20, 2018, 2:57pm UTC](https://discuss.elastic.co/t/configuring-email-server-in-yml-file/145194/1 "2018-08-20T14:57:51Z")

</div>

Hi Team,

I am new to Kibana/ES. I want to configure an e-mail server in elasticsearch.yml file so that I can send alert e-mails based on messages send the logs. How can I do this through the Kibana/ES UI?

Thanks,  
Mark

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [August 20, 2018, 4:13pm UTC](https://discuss.elastic.co/t/configuring-email-server-in-yml-file/145194/2 "2018-08-20T16:13:43Z")

</div>

Hi ,  
You can use watcher for your use case. Alerting is a set of administrative features that enable you to watch for changes or anomalies in your data and perform the necessary actions in response. Getting started with watcher is easy in Kibana. Here is the guide for it .  
[https://www.elastic.co/guide/en/kibana/current/watcher-getting-started.html](https://www.elastic.co/guide/en/kibana/current/watcher-getting-started.html)

A watch can perform multiple actions. The actions are executed one at a time and each action executes independently. Use the `email` action to send email notifications. To send email, you must [configure at least one email account](https://www.elastic.co/guide/en/x-pack/current/actions-email.html#configuring-email) in `elasticsearch.yml` .  
Here is a simple guide to set it up:

[https://www.elastic.co/guide/en/x-pack/current/actions-email.html#configuring-email](https://www.elastic.co/guide/en/x-pack/current/actions-email.html#configuring-email)

An example of how a watch would look like with email configured is as shown below :  
[https://www.elastic.co/guide/en/x-pack/current/action-conditions.html](https://www.elastic.co/guide/en/x-pack/current/action-conditions.html)

Hope this helps,

Cheers  
Rashmi

---

<div class="post-metadata">

**Author:** ![mark-otcxn](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mark-otcxn](https://discuss.elastic.co/u/mark-otcxn)\
**Post date:** [August 20, 2018, 4:51pm UTC](https://discuss.elastic.co/t/configuring-email-server-in-yml-file/145194/3 "2018-08-20T16:51:47Z")

</div>

Hi Rashmi, thank you for the clarification. My next question is how I configure elasticsearch.yml. Currently I log into a Kibana portal and from there I see Management link on LHS. Is there somewhere from there where I can configure elasticsearch.yml ? I see some documentation that mentions the Cloud UI Admin portal - is that a separate portal from Kibana?

Thanks,  
Mark

---

<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:** [September 17, 2018, 4:52pm UTC](https://discuss.elastic.co/t/configuring-email-server-in-yml-file/145194/4 "2018-09-17T16:52:04Z")

</div>

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