# Alerting on metrics

**URL:** <https://discuss.elastic.co/t/alerting-on-metrics/217873>\
**Category:** Metrics\
**Created:** [February 4, 2020, 8:36pm UTC](https://discuss.elastic.co/t/alerting-on-metrics/217873 "2020-02-04T20:36:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuart475898](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@stuart475898](https://discuss.elastic.co/u/stuart475898)\
**Post date:** [February 4, 2020, 8:36pm UTC](https://discuss.elastic.co/t/alerting-on-metrics/217873/1 "2020-02-04T20:36:25Z")

</div>

Hello,

Currently doing some initial research into elastic for use among other things as an infrastructure monitoring tool. Metricbeat + elastic appear to give us exactly the sort of thing we want, so I started the 14 day trial to test out alerting.

How should watcher be used for infrastructure monitoring? How do I apply a rule to a group of servers e.g. when CPU above 80% for 5 minutes for this group of endpoints, alert. When CPU at 100% for 5 minutes for this group of endpoints, alert.

From what I can tell, the only way that may be possible to achieve this is to do it in straight up JSON, which is disappointing if it is not possible in the UI.

Thanks

---

<div class="post-metadata">

**Author:** ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)\
**Post date:** [February 4, 2020, 10:20pm UTC](https://discuss.elastic.co/t/alerting-on-metrics/217873/2 "2020-02-04T22:20:44Z")

</div>

@stuart475898 We are currently working on the integrated alerting feature for the Metric UI. It’s being built using the new Kibana alerting platform which expected to ship soon.

Here is our meta issue for tracking the work: [https://github.com/elastic/kibana/issues/56432](https://github.com/elastic/kibana/issues/56432)

Watcher is an option but I would probably recommend waiting if that’s possible.

---

<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:** [March 3, 2020, 10:20pm UTC](https://discuss.elastic.co/t/alerting-on-metrics/217873/3 "2020-03-03T22:20:44Z")

</div>

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