# How to send JSON body in rule?

**URL:** <https://discuss.elastic.co/t/how-to-send-json-body-in-rule/351768>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [January 25, 2024, 6:08am UTC](https://discuss.elastic.co/t/how-to-send-json-body-in-rule/351768 "2024-01-25T06:08:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [January 29, 2024, 3:45pm UTC](https://discuss.elastic.co/t/how-to-send-json-body-in-rule/351768/4 "2024-01-29T15:45:43Z")

</div>

Thanks for following up, @navin547.

[It seems](https://discuss.elastic.co/t/surfacing-index-field-values-in-kibana-alerts/301903) you can use the [Mustache](https://mustache.github.io/) template array syntax to iterate the hits. [This similar forum](https://discuss.elastic.co/t/kibana-email-alert/303013) post suggests that you can add `{{.}}` within that message to get a listing of all the available variables.

Hope this helps!  
Jess

---

_[View the full topic](https://discuss.elastic.co/t/how-to-send-json-body-in-rule/351768)._
