# Elastic Machine learning jobs - Prometheus Blackbox Exporter / Kafka Metrics

**URL:** <https://discuss.elastic.co/t/elastic-machine-learning-jobs-prometheus-blackbox-exporter-kafka-metrics/265362>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning, elastic-stack-alerting\
**Created:** [February 24, 2021, 3:05pm UTC](https://discuss.elastic.co/t/elastic-machine-learning-jobs-prometheus-blackbox-exporter-kafka-metrics/265362 "2021-02-24T15:05:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jk247](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jk247](https://discuss.elastic.co/u/jk247)\
**Post date:** [February 24, 2021, 3:05pm UTC](https://discuss.elastic.co/t/elastic-machine-learning-jobs-prometheus-blackbox-exporter-kafka-metrics/265362/1 "2021-02-24T15:05:40Z")

</div>

Hi everyone,

I am currently setting up a proactive monitoring solution with the help of the Elastic Machine Learning feature for a Web application. (In order to see the benefits vs my current (reactive) setup with Grafana)  
All of the ML jobs that I already set up are based on Elasticsearch Logs. In addition to that I have prometheus with Blackbox exporter set up to do http checks in order to check surrounding services for their availability.  
**Now to my question:** Is it possible to analyze the prometheus metrics with the Elastic ML feature in order to implement a proactive monitoring solution? Like is it realistic that the algorithm can detect when a service might have a downtime or similar issues with this setup? Can anyone share their experiences? I would be really really thankful for that!

An additional scenario would be to analyze Kafka metrics that also come via Prometheus. Anyone has experiences with that / Can share useful use cases?

Thank you very much in advance for the help!

---

<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:** [February 24, 2021, 5:46pm UTC](https://discuss.elastic.co/t/elastic-machine-learning-jobs-prometheus-blackbox-exporter-kafka-metrics/265362/2 "2021-02-24T17:46:40Z")

</div>

Obviously, Elastic ML does real-time anomaly detection so it is perfectly capable of being part of your proactive monitoring goals. It can find anomalies in metric based data as well as log data (see some of the "built-in" ML jobs we distribute here: [Supplied anomaly detection configurations | Machine Learning in the Elastic Stack [7.11] | Elastic](https://www.elastic.co/guide/en/machine-learning/current/ootb-ml-jobs.html))

---

<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 24, 2021, 5:46pm UTC](https://discuss.elastic.co/t/elastic-machine-learning-jobs-prometheus-blackbox-exporter-kafka-metrics/265362/3 "2021-03-24T17:46:44Z")

</div>

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