# Not able to send dynamic content(log messages) in Kibana Alerts ( v 8.13.2)

**URL:** <https://discuss.elastic.co/t/not-able-to-send-dynamic-content-log-messages-in-kibana-alerts-v-8-13-2/360068>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [May 23, 2024, 10:25am UTC](https://discuss.elastic.co/t/not-able-to-send-dynamic-content-log-messages-in-kibana-alerts-v-8-13-2/360068 "2024-05-23T10:25:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satyajeet\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/satyajeet_singh/32/68332_2.png) [@Satyajeet\_Singh](https://discuss.elastic.co/u/Satyajeet_Singh)\
**Post date:** [May 23, 2024, 10:25am UTC](https://discuss.elastic.co/t/not-able-to-send-dynamic-content-log-messages-in-kibana-alerts-v-8-13-2/360068/1 "2024-05-23T10:25:55Z")

</div>

we are sending alerts to overture from kibana logs. Every matching log should create an alert and we want to see the log message in alert.  
below is the alert body, I have tried several things but could not get the error message in the alert:

{  
"id": "13213123",  
"specversion": "1.0",  
"type": "com.xyz",  
"source" : "Logs",  
"datacontenttype" : "application/json",  
"data": {  
"severity": "medium",  
"startsAt": "{{ctx.timestamp}}",  
"environment": "test",  
"alertname": "{{rule.name}}",  
"message": "Log alerts triggered:{{ctx.payload.hits.hits.0.\_source.message}}",  
"summary": "{{rule.name}}.",  
"tags": "{{tags}}"  
}  
}
