# Get Data from prometheus monitored systems

**URL:** <https://discuss.elastic.co/t/get-data-from-prometheus-monitored-systems/99940>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 9, 2017, 5:01pm UTC](https://discuss.elastic.co/t/get-data-from-prometheus-monitored-systems/99940 "2017-09-09T17:01:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheReal1604](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thereal1604/32/21942_2.png) [@TheReal1604](https://discuss.elastic.co/u/TheReal1604)\
**Post date:** [September 9, 2017, 5:01pm UTC](https://discuss.elastic.co/t/get-data-from-prometheus-monitored-systems/99940/1 "2017-09-09T17:01:03Z")

</div>

Hi,

i found already this thread which is mentioning what i want to do, but i get no clue how to do it. Can we receiver metrics from prometheus monitored systems via the /metrics http api from prometheus? Which requirements have to be setup on prometheus side to use this?

All I found regarding this topics are this things:

> **[Prometheus collector metricset | Metricbeat Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-prometheus-collector.html)**

> [@Any documentation of the Prometheus Metricseats?](https://discuss.elastic.co/t/any-documentation-of-the-prometheus-metricseats/91153):
>
> HI All, Are there any examples and documentation on how to connect Prometheus metrics collectors to Metricbeat? There is some for the Metricbeat side ([https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-prometheus-stats.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-prometheus-stats.html)) ; but what does it expect on the Prometeus side to be there? Thanks!

Which is not really helpful. 😕

Maybe someone can give a hint into the right direction how to do this?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![TheReal1604](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thereal1604/32/21942_2.png) [@TheReal1604](https://discuss.elastic.co/u/TheReal1604)\
**Post date:** [September 10, 2017, 12:25pm UTC](https://discuss.elastic.co/t/get-data-from-prometheus-monitored-systems/99940/2 "2017-09-10T12:25:31Z")

</div>

I read some informations about prometheus and toyed a bit around.. maybe i understand now better what the metricbeat prometheus module does. (collector)

It seems that this module collects metrics not from prometheus itself, but from the prometheus exporter scrapeurls which you can get when you call the http api with this command:

`curl http://<prom-ip>:9090/api/v1/targets`

Can anyone confirm that my assumptions are correct?

---

<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:** [October 8, 2017, 12:25pm UTC](https://discuss.elastic.co/t/get-data-from-prometheus-monitored-systems/99940/3 "2017-10-08T12:25:45Z")

</div>

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