# Watcher Condition - How do I know when ctx.payload.hits.total increased?

**URL:** <https://discuss.elastic.co/t/watcher-condition-how-do-i-know-when-ctx-payload-hits-total-increased/29810>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [September 22, 2015, 8:35pm UTC](https://discuss.elastic.co/t/watcher-condition-how-do-i-know-when-ctx-payload-hits-total-increased/29810 "2015-09-22T20:35:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jag](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@Jag](https://discuss.elastic.co/u/Jag)\
**Post date:** [September 22, 2015, 8:35pm UTC](https://discuss.elastic.co/t/watcher-condition-how-do-i-know-when-ctx-payload-hits-total-increased/29810/1 "2015-09-22T20:35:20Z")

</div>

I would like to know when the count of particular search went in number for example error count? Any examples would be helpful.

Thanks  
Jag

---

<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:** [July 6, 2017, 1:48pm UTC](https://discuss.elastic.co/t/watcher-condition-how-do-i-know-when-ctx-payload-hits-total-increased/29810/2 "2017-07-06T13:48:34Z")

</div>


