# Discover processes to get metrics from?

**URL:** https://discuss.elastic.co/t/discover-processes-to-get-metrics-from/81320
**Category:** Beats
**Tags:** metricbeat
**Created:** [April 5, 2017, 2:34pm UTC](https://discuss.elastic.co/t/discover-processes-to-get-metrics-from/81320 "2017-04-05T14:34:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![memelet](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@memelet](https://discuss.elastic.co/u/memelet)
#### Post date: [April 5, 2017, 2:34pm UTC](https://discuss.elastic.co/t/discover-processes-to-get-metrics-from/81320/1 "2017-04-05T14:34:39Z")

</div>

Is there anything in metricbeat (or beat in general) similar to prometheus that allows for pulling metrics from services discovered via consul? If not, how do people get metrics out of their dynamic services? Or is beats only useful for nodes and very stable processes (like kafka)?

---

<div class="post-metadata">

### Author: ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)
#### Post date: [April 6, 2017, 8:10am UTC](https://discuss.elastic.co/t/discover-processes-to-get-metrics-from/81320/2 "2017-04-06T08:10:03Z")

</div>

Right now this is not possible. But we are working on some auto-discovery ideas to make this possible in the future. One work around right now is having your own script that pulls data from consul frequently and creates metricbeat config files out of it. That is one of the reasons metricbeat 5.3 supports config reloading to allow these use cases. I'm aware of some uses cases with docker that do this but I assume it should also work with consul.

---

<div class="post-metadata">

### Author: ![memelet](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@memelet](https://discuss.elastic.co/u/memelet)
#### Post date: [April 6, 2017, 11:35am UTC](https://discuss.elastic.co/t/discover-processes-to-get-metrics-from/81320/3 "2017-04-06T11:35:35Z")

</div>

Ok, thanks. For now consul-template it is...

---

<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: [May 4, 2017, 11:35am UTC](https://discuss.elastic.co/t/discover-processes-to-get-metrics-from/81320/4 "2017-05-04T11:35:47Z")

</div>

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