# Custom Notification Alert not showing some fields

**URL:** <https://community.graylog.org/t/custom-notification-alert-not-showing-some-fields/33964>\
**Category:** Graylog Central (peer support)\
**Tags:** alert\
**Created:** [October 25, 2024, 1:14pm UTC](https://community.graylog.org/t/custom-notification-alert-not-showing-some-fields/33964 "2024-10-25T13:14:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kofismartgh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/kofismartgh/32/17297_2.png) [@kofismartgh](https://community.graylog.org/u/kofismartgh)\
**Post date:** [October 25, 2024, 1:14pm UTC](https://community.graylog.org/t/custom-notification-alert-not-showing-some-fields/33964/1 "2024-10-25T13:14:57Z")

</div>

Helllo guys i have a Ms teams webhook that receives these notification, my issue is some fields i expect to see in the alert are not being populated … i tried message.fields.RequestId message.RequestId still not populated.  
Sample of Message  
{  
“RequestPath”: “/api/v1/business/owner”,  
“Scheme”: “http”,  
“ContentType”: “application/json; charset=utf-8; x-api-version=1”,  
“gl2\_remote\_ip”: “1.1.1.1”,  
“logger”: “Microsoft.AspNetCore.Hosting.Diagnostics”,  
“gl2\_remote\_port”: 56042,  
“source”: “my.Api”,  
“ElapsedMilliseconds”: 2897.1303,  
“machine\_name”: “my-apis”,  
“gl2\_source\_input”: “6633718f75795570f901fbc4e”,  
“StatusCode”: 200,  
“ConnectionId”: “0HN7KQ0U5V2M6”,  
“gl2\_source\_node”: “47917e09-1e22-4adb-b5af-d9bee4713562”,  
“Protocol”: “HTTP/1.1”,  
“timestamp”: “2024-10-25T12:38:20.630Z”,  
“Path”: “/api/v1/business/owner”,  
“gl2\_accounted\_message\_size”: 749,  
“RequestId”: “0HN7KQ0U5V2M6:00000001”,  
“level”: 6,  
“QueryString”: “?sessionId=OWNERSHIPDETAILS”,  
“streams”: [  
“000000000000000000000001”  
],  
“gl2\_message\_id”: “01JB1TYN6P0N7NNCRJ126C0KY8”,  
“Host”: “localhost:4342”,  
“Method”: “POST”,  
“message”: “Request finished HTTP/1.1 POST [http://localhost:4342/api/v1/owner?sessionId=OWNERSHIPDETAILS](http://localhost:4342/api/v1/owner?sessionId=OWNERSHIPDETAILS) - 200 - application/json;+charset=utf-8;+x-api-version=1 2897.1303ms”,  
“event\_id”: 2,  
“Environment”: “Production”,  
“\_id”: “0463759c-92ce-11ef-8ae7-0242ac120004”,  
“facility”: “my.Api”  
}

Snip of my notification

```auto
${if backlog}
<b>--- [Last messages accounting for this alert:] --- </b>
${foreach backlog message}
<p><code>${message.timestamp} :: ${message.source} :: ${message.message} :: 
<b>RequestId</b>:: ${message.fields.RequestId}:: ${message.id}<b>Exception</b> :: ${message.fields.exception}</code></p>
${end}${end}

```

I am unable to get the value of this ${message.fields.RequestId} thou its in my message field

GraylogVersion : Graylog 5.1.4  
OS:Linux

---

<div class="post-metadata">

**Author:** ![Wine\_Merchant](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/wine_merchant/32/14596_2.png) [@Wine\_Merchant](https://community.graylog.org/u/Wine_Merchant)\
**Post date:** [October 29, 2024, 11:57am UTC](https://community.graylog.org/t/custom-notification-alert-not-showing-some-fields/33964/2 "2024-10-29T11:57:00Z")

</div>

Hey @kofismartgh,

Is the event used to throw the alert of type aggregation?

---

<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 12, 2024, 11:57am UTC](https://community.graylog.org/t/custom-notification-alert-not-showing-some-fields/33964/3 "2024-11-12T11:57:33Z")

</div>

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