# Refer highlight fields in webhook message

**URL:** <https://discuss.elastic.co/t/refer-highlight-fields-in-webhook-message/314049>\
**Category:** Elasticsearch\
**Created:** [September 9, 2022, 10:28am UTC](https://discuss.elastic.co/t/refer-highlight-fields-in-webhook-message/314049 "2022-09-09T10:28:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ananya\_Chowdhury](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ananya_chowdhury/32/98119_2.png) [@Ananya\_Chowdhury](https://discuss.elastic.co/u/Ananya_Chowdhury)\
**Post date:** [September 9, 2022, 10:28am UTC](https://discuss.elastic.co/t/refer-highlight-fields-in-webhook-message/314049/1 "2022-09-09T10:28:43Z")

</div>

In my elastic query where i have highlight fields as shortmessage to custom the length of short message and i want to refere that in webhook message. But when i am referring under contexthits as highlight.short\_message it's coming as blank.

Can anybody help me how to retrieve highlight fields in webhook message

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 7, 2022, 10:28am UTC](https://discuss.elastic.co/t/refer-highlight-fields-in-webhook-message/314049/2 "2022-10-07T10:28:54Z")

</div>

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