# Metricbeat collect jvm used heap memory

**URL:** https://discuss.elastic.co/t/metricbeat-collect-jvm-used-heap-memory/189955
**Category:** Beats
**Tags:** metricbeat
**Created:** [July 11, 2019, 9:30am UTC](https://discuss.elastic.co/t/metricbeat-collect-jvm-used-heap-memory/189955 "2019-07-11T09:30:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)
#### Post date: [July 11, 2019, 9:30am UTC](https://discuss.elastic.co/t/metricbeat-collect-jvm-used-heap-memory/189955/1 "2019-07-11T09:30:00Z")

</div>

Hi,  
I'm using Metricbeat to collect fields with elasticsearch module. I'm using v.6.8  
Currently I cannot find any field related the used heap memory value.  
is it correct?

---

<div class="post-metadata">

### Author: ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)
#### Post date: [July 12, 2019, 4:17am UTC](https://discuss.elastic.co/t/metricbeat-collect-jvm-used-heap-memory/189955/2 "2019-07-12T04:17:51Z")

</div>

Yeah I think we only have `heap_init_in_bytes` and `heap_max_in_bytes`. Please feel free to open enhancement requests [https://github.com/elastic/beats/issues/new?template=feature-request.md](https://github.com/elastic/beats/issues/new?template=feature-request.md) for metricbeat to add the data you want with more details and/or use cases.

---

<div class="post-metadata">

### Author: ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)
#### Post date: [July 12, 2019, 8:16am UTC](https://discuss.elastic.co/t/metricbeat-collect-jvm-used-heap-memory/189955/3 "2019-07-12T08:16:48Z")

</div>

I know that technically I can use X-Pack monitoring feature, but Metricbeat is so lightweight that I can decide to stop/start it whenever I want/need. furthermore, using X-Pack monitoring feature I cannot discriminate destination indices and I need more disk spaces.

For the moment, I will try to ask for an enhancement 🙂

thanks

---

<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: [August 9, 2019, 8:16am UTC](https://discuss.elastic.co/t/metricbeat-collect-jvm-used-heap-memory/189955/4 "2019-08-09T08:16:56Z")

</div>

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