# Display log message in kibana alerting

**URL:** <https://discuss.elastic.co/t/display-log-message-in-kibana-alerting/358504>\
**Category:** Elasticsearch\
**Created:** [April 30, 2024, 3:22pm UTC](https://discuss.elastic.co/t/display-log-message-in-kibana-alerting/358504 "2024-04-30T15:22:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roshan\_Joel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roshan_joel/32/134013_2.png) [@Roshan\_Joel](https://discuss.elastic.co/u/Roshan_Joel)\
**Post date:** [April 30, 2024, 3:22pm UTC](https://discuss.elastic.co/t/display-log-message-in-kibana-alerting/358504/1 "2024-04-30T15:22:42Z")

</div>

how to display entire log message or log field in kibana alerting

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [April 30, 2024, 3:57pm UTC](https://discuss.elastic.co/t/display-log-message-in-kibana-alerting/358504/2 "2024-04-30T15:57:42Z")

</div>

Thanks for reaching out, @Roshan_Joel.

- What version of Elastic are you using?
- Can you say more about how you are configuring your action?
- Can you share a code snippet or screenshot of the UI?

There was also a [similar post](https://discuss.elastic.co/t/how-to-include-log-field-value-in-the-alert-body-message/245876) on this subject that came up that might be helpful to check out, too.

---

<div class="post-metadata">

**Author:** ![Roshan\_Joel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roshan_joel/32/134013_2.png) [@Roshan\_Joel](https://discuss.elastic.co/u/Roshan_Joel)\
**Post date:** [April 30, 2024, 5:20pm UTC](https://discuss.elastic.co/t/display-log-message-in-kibana-alerting/358504/3 "2024-04-30T17:20:09Z")

</div>

Hi @jessgarson ,

1. We're using v 8.12.2  
2.We sought to receive alerts whenever specific keywords ("struck thread," "error," etc.) matched within our logs, along with the complete log containing the message and server details.
2. 

![image](https://us1.discourse-cdn.com/elastic/original/3X/9/c/9c163d4d178197cb2d5ce9bce61bcf6e83adb0f5.png)

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [May 1, 2024, 6:34pm UTC](https://discuss.elastic.co/t/display-log-message-in-kibana-alerting/358504/4 "2024-05-01T18:34:19Z")

</div>

Thanks for the follow up, @Roshan_Joel. Do you get the same results by switching up `{{_source}}` with `{{context.message}}`?

---

<div class="post-metadata">

**Author:** ![Roshan\_Joel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roshan_joel/32/134013_2.png) [@Roshan\_Joel](https://discuss.elastic.co/u/Roshan_Joel)\
**Post date:** [May 8, 2024, 1:19pm UTC](https://discuss.elastic.co/t/display-log-message-in-kibana-alerting/358504/5 "2024-05-08T13:19:59Z")

</div>

Hi @jessgarson we miss to add context now it's good

---

<div class="post-metadata">

**Author:** ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)\
**Post date:** [May 8, 2024, 1:35pm UTC](https://discuss.elastic.co/t/display-log-message-in-kibana-alerting/358504/6 "2024-05-08T13:35:57Z")

</div>

Thanks, @Roshan_Joel. Glad to hear it's a resloved. Let us know if you need any more help here.
