# Problem configure output Email in logstash.conf?

**URL:** <https://discuss.elastic.co/t/problem-configure-output-email-in-logstash-conf/321269>\
**Category:** Logstash\
**Created:** [December 15, 2022, 8:07am UTC](https://discuss.elastic.co/t/problem-configure-output-email-in-logstash-conf/321269 "2022-12-15T08:07:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpot\_IT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tpot_it/32/114724_2.png) [@tpot\_IT](https://discuss.elastic.co/u/tpot_IT)\
**Post date:** [December 15, 2022, 8:07am UTC](https://discuss.elastic.co/t/problem-configure-output-email-in-logstash-conf/321269/1 "2022-12-15T08:07:10Z")

</div>

Hello,  
My goal is to get email alerts from the Tpot .  
Do I need to install alerta before configure the logstash.conf to send emails ?  
I'm trying to follow those instructions: (gitHub)

> **[Reconfigure logstash.conf · telekom-security/tpotce Wiki](https://github.com/telekom-security/tpotce/wiki/Reconfigure-logstash.conf)**
>
> 🍯 T-Pot - The All In One Honeypot Platform 🐝. Contribute to telekom-security/tpotce development by creating an account on GitHub.

and insert the Email output to logstash.conf,  
I'm expirincing a few difficulties:

1. where do I need to enter the Email ID and Email Password from which I want the email to send from?

2. which port do i need to use if I want to send the alerts from Gmail account? 25 ? 587?

3. should use\_tls be TRUE?

4)Do I need to do anything else beside the 5 stages in the GitHub link?

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:** [January 12, 2023, 8:07am UTC](https://discuss.elastic.co/t/problem-configure-output-email-in-logstash-conf/321269/2 "2023-01-12T08:07:25Z")

</div>

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