# How configuration logstash 7.6.2 email in output

**URL:** <https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148>\
**Category:** Logstash\
**Created:** [August 12, 2021, 5:28am UTC](https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148 "2021-08-12T05:28:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![arisxf](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@arisxf](https://discuss.elastic.co/u/arisxf)\
**Post date:** [August 12, 2021, 5:28am UTC](https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148/1 "2021-08-12T05:28:38Z")

</div>

how to use logstash 7.6.2 email in output ? is this email plugin available by default?

---

<div class="post-metadata">

**Author:** ![chandu5565](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@chandu5565](https://discuss.elastic.co/u/chandu5565)\
**Post date:** [August 16, 2021, 5:27am UTC](https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148/2 "2021-08-16T05:27:41Z")

</div>

Hi Aris,

Yes the email output plugin is available as default. Refer to the documentation on how to configure email output in logstash.

[Email output plugin | Logstash Reference [7.6] | Elastic](https://www.elastic.co/guide/en/logstash/7.6/plugins-outputs-email.html)

---

<div class="post-metadata">

**Author:** ![arisxf](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@arisxf](https://discuss.elastic.co/u/arisxf)\
**Post date:** [August 16, 2021, 6:02am UTC](https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148/3 "2021-08-16T06:02:56Z")

</div>

okee nicee thank you, then how to get error response from http poller ?

---

<div class="post-metadata">

**Author:** ![chandu5565](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@chandu5565](https://discuss.elastic.co/u/chandu5565)\
**Post date:** [August 16, 2021, 6:33am UTC](https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148/4 "2021-08-16T06:33:28Z")

</div>

Hi Aris,

You can use http\_poller to collect the data and use grok filter to parse only error lines and drop filter to drop other lines.

You can elaborate on what you are trying to achieve and what is the configuration that you are using for further help.

---

<div class="post-metadata">

**Author:** ![arisxf](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@arisxf](https://discuss.elastic.co/u/arisxf)\
**Post date:** [August 16, 2021, 6:41am UTC](https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148/5 "2021-08-16T06:41:33Z")

</div>

hii thanks for your quick answer I really appreciate it, give me a simple example to filter the response data obtained from http poller ?

---

<div class="post-metadata">

**Author:** ![chandu5565](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@chandu5565](https://discuss.elastic.co/u/chandu5565)\
**Post date:** [August 16, 2021, 6:47am UTC](https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148/6 "2021-08-16T06:47:28Z")

</div>

Refer to the below link to configure your grok patterns and I suggest you to go through logstash documentation to know the available plugins.

[Grok filter plugin | Logstash Reference [7.6] | Elastic](https://www.elastic.co/guide/en/logstash/7.6/plugins-filters-grok.html)

---

<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 13, 2021, 6:47am UTC](https://discuss.elastic.co/t/how-configuration-logstash-7-6-2-email-in-output/281148/7 "2021-09-13T06:47:34Z")

</div>

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