# Uptime monitor status rule when all monitors down

**URL:** https://discuss.elastic.co/t/uptime-monitor-status-rule-when-all-monitors-down/328094
**Category:** Synthetics
**Created:** [March 20, 2023, 3:23pm UTC](https://discuss.elastic.co/t/uptime-monitor-status-rule-when-all-monitors-down/328094 "2023-03-20T15:23:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Alexander\_A](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Alexander\_A](https://discuss.elastic.co/u/Alexander_A)
#### Post date: [March 20, 2023, 3:23pm UTC](https://discuss.elastic.co/t/uptime-monitor-status-rule-when-all-monitors-down/328094/1 "2023-03-20T15:23:17Z")

</div>

Creating "Uptime monitor status" rule there is an option to create "Status check" when "ANY MONITOR IS DOWN" but how I can create a rule when

- ALL MONITORS ARE DOWN (from all locations)
- ANY X MONITORS ARE DOWN (from X locations)

When I add filter "FROM LOCATION" and choose several locations is it "OR" or "AND" operator?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/3/43da99c34cb4a93df057d1176849d049183c045d.png)

---

<div class="post-metadata">

### Author: ![jkambic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkambic/32/53306_2.png) [@jkambic](https://discuss.elastic.co/u/jkambic)
#### Post date: [March 22, 2023, 8:39pm UTC](https://discuss.elastic.co/t/uptime-monitor-status-rule-when-all-monitors-down/328094/3 "2023-03-22T20:39:08Z")

</div>

Hi @Alexander_A - thanks for using Heartbeat and Uptime!

> When I add filter "FROM LOCATION" and choose several locations is it "OR" or "AND" operator?

It is a logical `OR`, so if your monitor is down in any one of those locations the rule will alert you.

> \* ALL MONITORS ARE DOWN (from all locations)

Essentially if you create a rule that has no filtering (no query and no filters), that rule should fire for all monitors, regardless of location.

> \* ANY X MONITORS ARE DOWN (from X locations)

The rule wasn't designed to cover this particular use case. In general we want to know if any monitor from a subset of monitors isn't working correctly, or if any specific monitors are down. Monitoring whether a certain threshold of monitors have gone down before alerting wasn't something we considered when designing this rule.

---

<div class="post-metadata">

### Author: ![Alexander\_A](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@Alexander\_A](https://discuss.elastic.co/u/Alexander_A)
#### Post date: [March 22, 2023, 9:49pm UTC](https://discuss.elastic.co/t/uptime-monitor-status-rule-when-all-monitors-down/328094/4 "2023-03-22T21:49:24Z")

</div>

Hi @jkambic thanks for the quick reply!  
Seems I haven't been able to make my question clear. The case is that I want to check a web site from several locations cause if one location reports a problem it can be a problem with internet or problem with CDN for this region or something else and it's not a problem with the web site that is why it's important for me too check that problem has been confirmed from several locations or from all locations to exclude a "false alarm" or differentiate full and partial unavailability.  
Anyway I understood that rules do not support this case.

---

<div class="post-metadata">

### Author: ![jkambic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkambic/32/53306_2.png) [@jkambic](https://discuss.elastic.co/u/jkambic)
#### Post date: [March 23, 2023, 4:11pm UTC](https://discuss.elastic.co/t/uptime-monitor-status-rule-when-all-monitors-down/328094/5 "2023-03-23T16:11:07Z")

</div>

Hi Alexander - I do think that your use case is an important one and is something we should support. I've made an [Enhancement Request](https://github.com/elastic/kibana/issues/153571) on your behalf, you can track that issue for updates.

Thanks for sharing your feedback with us. If there's anything else I can answer for you please reply here.

---

<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: [April 16, 2023, 4:11pm UTC](https://discuss.elastic.co/t/uptime-monitor-status-rule-when-all-monitors-down/328094/6 "2023-04-16T16:11:38Z")

</div>

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