# How do I send an email alert only with some information from the message field?

**URL:** <https://community.graylog.org/t/how-do-i-send-an-email-alert-only-with-some-information-from-the-message-field/12170>\
**Category:** Graylog Central (peer support)\
**Created:** [September 30, 2019, 8:14pm UTC](https://community.graylog.org/t/how-do-i-send-an-email-alert-only-with-some-information-from-the-message-field/12170 "2019-09-30T20:14:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yumi](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@Yumi](https://community.graylog.org/u/Yumi)\
**Post date:** [September 30, 2019, 8:14pm UTC](https://community.graylog.org/t/how-do-i-send-an-email-alert-only-with-some-information-from-the-message-field/12170/1 "2019-09-30T20:14:36Z")

</div>

How do I send an email alert only with some information from the message field?

IP: $${message.fields.ip}  
Name: $${message.fields.name}  
Account: $${message.fields.accountName}

Did not work.

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [October 1, 2019, 7:03am UTC](https://community.graylog.org/t/how-do-i-send-an-email-alert-only-with-some-information-from-the-message-field/12170/2 "2019-10-01T07:03:15Z")

</div>

do you have that information you want to include already extracted into single fields?

---

<div class="post-metadata">

**Author:** ![Yumi](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@Yumi](https://community.graylog.org/u/Yumi)\
**Post date:** [October 1, 2019, 6:10pm UTC](https://community.graylog.org/t/how-do-i-send-an-email-alert-only-with-some-information-from-the-message-field/12170/3 "2019-10-01T18:10:48Z")

</div>

I have the information inside the message field.

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [October 2, 2019, 5:59am UTC](https://community.graylog.org/t/how-do-i-send-an-email-alert-only-with-some-information-from-the-message-field/12170/4 "2019-10-02T05:59:29Z")

</div>

you can’t parse the message field just for notifications - means:

If you want specific information available to use in the notification you need to extract that during message ingest.

---

<div class="post-metadata">

**Author:** ![Yumi](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@Yumi](https://community.graylog.org/u/Yumi)\
**Post date:** [October 2, 2019, 12:04pm UTC](https://community.graylog.org/t/how-do-i-send-an-email-alert-only-with-some-information-from-the-message-field/12170/5 "2019-10-02T12:04:39Z")

</div>

How do I extract? Would there be any step by step?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [October 16, 2019, 12:04pm UTC](https://community.graylog.org/t/how-do-i-send-an-email-alert-only-with-some-information-from-the-message-field/12170/6 "2019-10-16T12:04:40Z")

</div>

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