# Email notifcation, no backlogs

**URL:** https://community.graylog.org/t/email-notifcation-no-backlogs/22141
**Category:** Graylog Central (peer support)
**Tags:** basic-configuration
**Created:** [December 21, 2021, 3:58pm UTC](https://community.graylog.org/t/email-notifcation-no-backlogs/22141 "2021-12-21T15:58:35Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)
#### Post date: [December 22, 2021, 12:20am UTC](https://community.graylog.org/t/email-notifcation-no-backlogs/22141/8 "2021-12-22T00:20:16Z")

</div>

Hello,

I did a test in my lab on this issue.

This is my Notification template and I’m using Email Notification for my setting.

- Test #1

```auto
--- [Event Definition] ---------------------------
Title: ${event_definition_title}
Description: ${event_definition_description}
Type: ${event_definition_type}
--- [Event] --------------------------------------
Timestamp: ${event.timestamp}
Message: ${event.message}
Source: ${event.source}
Key: ${event.key}
Priority: ${event.priority}
Alert: ${event.alert}
Timestamp Processing: ${event.timestamp}
Timerange Start: ${event.timerange_start}
Timerange End: ${event.timerange_end}
Fields:
${foreach event.fields field} ${field.key}: ${field.value}
${end}
${if backlog}
--- [Backlog] ------------------------------------
Last messages accounting for this alert:
${foreach backlog message}
Source of alert: ${message.source}
${message.message}
${end}
${end}

```

- Results #1

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/c/c209bc310c5228075cb42fbffe746e2571d710fe.png)

- TEST # 2 using **Real message: ${message.message}** in template

```auto
--- [Event Definition] ---------------------------
Title: ${event_definition_title}
Description: ${event_definition_description}
Type: ${event_definition_type}
--- [Event] --------------------------------------
Timestamp: ${event.timestamp}
Message: ${event.message}
Source: ${event.source}
Key: ${event.key}
Priority: ${event.priority}
Alert: ${event.alert}
Timestamp Processing: ${event.timestamp}
Timerange Start: ${event.timerange_start}
Timerange End: ${event.timerange_end}
Fields:
${foreach event.fields field} ${field.key}: ${field.value}
${end}
${if backlog}
--- [Backlog] ------------------------------------
Last messages accounting for this alert:
${foreach backlog message}
Source of alert: ${message.source}
Real message: ${message.message}
${end}
${end}

```

- Results #2

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/1/16952d81252f1587e1376e86fea35cf40e80b8f3.png)

- Results #2 Using HTML

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/a/afbce5db1657b22a618f1f7bbab94370bb2cad60.png)

Hope that helps

EDIT: I probably should have shown these settings.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/1/1f438b1cdd34fb2418fdd55db6c77a70339c3710.png)

> [@Notification email backlog blank despite enabled](https://community.graylog.org/t/notification-email-backlog-blank-despite-enabled/16969):
>
> Hi all, Graylog version: v3.3.4 I can’t find the exact solution to my problem so I create a new topic, I am sorry if it is duplicated. I want to display specific fields and its keys in the notification email so I enabled blacklog in the event setting and add the following in the blacklog section of the notification configuration: [img2] I’ve consulted the official reference but I still don’t get the correct syntax. So I tried the following: (money\_sign)field\_name (money\_sign){field\_name} …

---

_[View the full topic](https://community.graylog.org/t/email-notifcation-no-backlogs/22141)._
