# Configuring Uptime Alerting to Send Out Email

**URL:** <https://discuss.elastic.co/t/configuring-uptime-alerting-to-send-out-email/259115>\
**Category:** Synthetics\
**Created:** [December 18, 2020, 2:39pm UTC](https://discuss.elastic.co/t/configuring-uptime-alerting-to-send-out-email/259115 "2020-12-18T14:39:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![byoungman](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@byoungman](https://discuss.elastic.co/u/byoungman)\
**Post date:** [December 18, 2020, 2:39pm UTC](https://discuss.elastic.co/t/configuring-uptime-alerting-to-send-out-email/259115/1 "2020-12-18T14:39:47Z")

</div>

I have set up a handful of Uptime and have enabled Status Alerting to report when the monitor itself is down but what I want to do next is to alert when the response code is not equal to 200 in the case of a server ping send out an alert to a distribution list.

I'm searching through the documentation on how to set up these type of alerts and not having much luck so any help will be greatly appreciated.

Bill Youngman

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [December 18, 2020, 9:34pm UTC](https://discuss.elastic.co/t/configuring-uptime-alerting-to-send-out-email/259115/2 "2020-12-18T21:34:24Z")

</div>

This is an interesting use case, are you saying that you want to take different alert actions based on the type of error? Heartbeat already checks response codes, and marks the monitor as down if the value is \< 200 or \> 299 , but it sounds like that's not the exact behavior you want, am I right?

The HTTP monitor status checks, by the way, can be configured per the [http response docs](https://www.elastic.co/guide/en/beats/heartbeat/current/monitor-http-options.html#monitor-http-response).

It'd be helpful to hear more info about your situation to see if it's possible today, or would be a new feature to add.

---

<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 11, 2021, 9:34pm UTC](https://discuss.elastic.co/t/configuring-uptime-alerting-to-send-out-email/259115/3 "2021-01-11T21:34:35Z")

</div>

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