# Need to email syslog messages from alert

**URL:** <https://discuss.elastic.co/t/need-to-email-syslog-messages-from-alert/340146>\
**Category:** Logstash\
**Tags:** elastic-stack-alerting\
**Created:** [August 4, 2023, 2:55pm UTC](https://discuss.elastic.co/t/need-to-email-syslog-messages-from-alert/340146 "2023-08-04T14:55:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmercaldi](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@mmercaldi](https://discuss.elastic.co/u/mmercaldi)\
**Post date:** [August 4, 2023, 2:55pm UTC](https://discuss.elastic.co/t/need-to-email-syslog-messages-from-alert/340146/1 "2023-08-04T14:55:54Z")

</div>

I am trying to be alerted whenever a port security issue comes up, however I can only view content on {{context.hits}}. The table for the syslog message contains fields such as @timestamp, @version, host, message  
I am only looking to get message for the email message. How do I do that?

---

<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 1, 2023, 2:56pm UTC](https://discuss.elastic.co/t/need-to-email-syslog-messages-from-alert/340146/2 "2023-09-01T14:56:51Z")

</div>

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