# Graylog 3.1 using extractor in email subject

**URL:** https://community.graylog.org/t/graylog-3-1-using-extractor-in-email-subject/12338
**Category:** Graylog Central (peer support)
**Created:** [October 11, 2019, 4:21pm UTC](https://community.graylog.org/t/graylog-3-1-using-extractor-in-email-subject/12338 "2019-10-11T16:21:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sieggray](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@sieggray](https://community.graylog.org/u/sieggray)
#### Post date: [October 11, 2019, 4:21pm UTC](https://community.graylog.org/t/graylog-3-1-using-extractor-in-email-subject/12338/1 "2019-10-11T16:21:38Z")

</div>

I want something very simple but for some reason i can’t get it working

my extractor works and is shown in the email where  
{foreach event.fields field} {field.key}: ${field.value} is used

my extractor name is check\_user

How to use it in the email subject?  
${event.fields.check\_user} ??

It seems the docs are under development but im getting crazy not managing something that simple…

Thanks!

---

<div class="post-metadata">

### Author: ![sieggray](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@sieggray](https://community.graylog.org/u/sieggray)
#### Post date: [October 14, 2019, 6:23pm UTC](https://community.graylog.org/t/graylog-3-1-using-extractor-in-email-subject/12338/2 "2019-10-14T18:23:21Z")

</div>

Ok a part of my mistake was event.fields

Correct value is ${message.fields.check\_user}.  
Then my value shows up in the email body but NOT in the subject…  
Is this even possible?

---

<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 16, 2019, 8:14am UTC](https://community.graylog.org/t/graylog-3-1-using-extractor-in-email-subject/12338/3 "2019-10-16T08:14:49Z")

</div>

no - that is not possible in the subject.

---

<div class="post-metadata">

### Author: ![sieggray](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@sieggray](https://community.graylog.org/u/sieggray)
#### Post date: [October 16, 2019, 11:44am UTC](https://community.graylog.org/t/graylog-3-1-using-extractor-in-email-subject/12338/4 "2019-10-16T11:44:06Z")

</div>

Ok thanks for confirming! will add it as feature request.

---

<div class="post-metadata">

### Author: ![shoothub](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/shoothub/32/6412_2.png) [@shoothub](https://community.graylog.org/u/shoothub)
#### Post date: [October 18, 2019, 8:58am UTC](https://community.graylog.org/t/graylog-3-1-using-extractor-in-email-subject/12338/5 "2019-10-18T08:58:54Z")

</div>

It would be great to have this feature, I also miss it.

---

<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: [November 1, 2019, 8:58am UTC](https://community.graylog.org/t/graylog-3-1-using-extractor-in-email-subject/12338/6 "2019-11-01T08:58:58Z")

</div>

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