# Elastic ML Job Monitoring

**URL:** <https://discuss.elastic.co/t/elastic-ml-job-monitoring/202976>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [October 10, 2019, 8:23am UTC](https://discuss.elastic.co/t/elastic-ml-job-monitoring/202976 "2019-10-10T08:23:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajuleo](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@rajuleo](https://discuss.elastic.co/u/rajuleo)\
**Post date:** [October 10, 2019, 8:23am UTC](https://discuss.elastic.co/t/elastic-ml-job-monitoring/202976/1 "2019-10-10T08:23:55Z")

</div>

Team, Is there anyway to monitor the ML jobs running and send alerts?

---

<div class="post-metadata">

**Author:** ![dolaru](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dolaru/32/55681_2.png) [@dolaru](https://discuss.elastic.co/u/dolaru)\
**Post date:** [October 10, 2019, 9:15am UTC](https://discuss.elastic.co/t/elastic-ml-job-monitoring/202976/2 "2019-10-10T09:15:19Z")

</div>

Hi @rajuleo!

You can monitor ML jobs and send alerts using [Watcher](https://www.elastic.co/guide/en/kibana/current/watcher-ui.html).

Some things you can look at:

- Job results - set thresholds for scores
- Job messages - look for warnings and error messages
- Job statuses - check if job status is `opened` and memory status is `ok`

You can do all these using the [HTTP Input for Watcher](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/input-http.html) to call [ML APIs](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/ml-apis.html), except for the job messages which you'll have to query from the `.ml-notifications*` index pattern.

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [October 10, 2019, 12:58pm UTC](https://discuss.elastic.co/t/elastic-ml-job-monitoring/202976/3 "2019-10-10T12:58:13Z")

</div>

More examples here: [https://www.elastic.co/blog/alerting-on-machine-learning-jobs-in-elasticsearch-v55](https://www.elastic.co/blog/alerting-on-machine-learning-jobs-in-elasticsearch-v55)

---

<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:** [November 7, 2019, 1:07pm UTC](https://discuss.elastic.co/t/elastic-ml-job-monitoring/202976/4 "2019-11-07T13:07:36Z")

</div>

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