# Is it possible to use query variables in alerting message?

**URL:** <https://forum.opensearch.org/t/is-it-possible-to-use-query-variables-in-alerting-message/10017>\
**Category:** Alerting\
**Created:** [June 22, 2022, 8:46am UTC](https://forum.opensearch.org/t/is-it-possible-to-use-query-variables-in-alerting-message/10017 "2022-06-22T08:46:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mertkaant](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mertkaant](https://forum.opensearch.org/u/mertkaant)\
**Post date:** [June 22, 2022, 8:46am UTC](https://forum.opensearch.org/t/is-it-possible-to-use-query-variables-in-alerting-message/10017/1 "2022-06-22T08:46:47Z")

</div>

Hello comm!

Is it possible to use query variables in alerting messages? I would love to have a detailed alert message with my query variables in it. Is this possible with the current release? If so, can you redirect me to a document or maybe give an example for me?  
Thanks!

---

<div class="post-metadata">

**Author:** ![kris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/kris/32/2208_2.png) [@kris](https://forum.opensearch.org/u/kris)\
**Post date:** [February 7, 2023, 5:17pm UTC](https://forum.opensearch.org/t/is-it-possible-to-use-query-variables-in-alerting-message/10017/2 "2023-02-07T17:17:41Z")

</div>

Closed on February 7, 2023, 5:17pm UTC


