# Watcher for Heartbeat : challenging questions

**URL:** https://discuss.elastic.co/t/watcher-for-heartbeat-challenging-questions/292454
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting, painless
**Created:** [December 20, 2021, 11:34am UTC](https://discuss.elastic.co/t/watcher-for-heartbeat-challenging-questions/292454 "2021-12-20T11:34:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![appleyin1](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@appleyin1](https://discuss.elastic.co/u/appleyin1)
#### Post date: [December 20, 2021, 11:34am UTC](https://discuss.elastic.co/t/watcher-for-heartbeat-challenging-questions/292454/1 "2021-12-20T11:34:10Z")

</div>

Hi there:  
Need your advice in the following,

“A cluster has configured with the heartbeat check for 10 URL. If 1 out of 10 heartbeat of the URL is down I would like the Watcher to be able send an email with monitor ID which was down in the body.”

To make it more flexible,  
I would like to pass in the parameters “URLDownCount” and “MonitorID” from the response servers in order to send a watcher email alert.

I’m thinking of using input chain/search or potentially search template to be able to search through the heartbeat index but don’t know which one would be a better solution?

Your professional advice is much appreciated

Thank you

---

<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: [January 17, 2022, 11:34am UTC](https://discuss.elastic.co/t/watcher-for-heartbeat-challenging-questions/292454/2 "2022-01-17T11:34:31Z")

</div>

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