# Include Fields in Watcher Email Alert

**URL:** <https://discuss.elastic.co/t/include-fields-in-watcher-email-alert/309821>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting, painless\
**Created:** [July 17, 2022, 2:51pm UTC](https://discuss.elastic.co/t/include-fields-in-watcher-email-alert/309821 "2022-07-17T14:51:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [July 20, 2022, 12:33pm UTC](https://discuss.elastic.co/t/include-fields-in-watcher-email-alert/309821/4 "2022-07-20T12:33:45Z")

</div>

oh sorry - you're the same person asking in the [other thread](https://discuss.elastic.co/t/format-array-object-in-watcher-email-body/310080). I didn't notice at first.

If you got a "cannot parse" error perhaps your copy/paste picked up extraneous characters. Try using the "raw" version:

[https://gist.githubusercontent.com/richcollier/31e4de8773d6f9183a6cf4799836b8e0/raw/2225ebcaec506d10c1eb546dd7fadab9cd09179e/alert\_on\_three\_consecutive\_anomalies.txt](https://gist.githubusercontent.com/richcollier/31e4de8773d6f9183a6cf4799836b8e0/raw/2225ebcaec506d10c1eb546dd7fadab9cd09179e/alert_on_three_consecutive_anomalies.txt)

---

_[View the full topic](https://discuss.elastic.co/t/include-fields-in-watcher-email-alert/309821)._
