# What is proper configuration for metrics in elasticstack to reduce memory footprint?

**URL:** <https://discuss.elastic.co/t/what-is-proper-configuration-for-metrics-in-elasticstack-to-reduce-memory-footprint/299950>\
**Category:** Metrics\
**Created:** [March 17, 2022, 12:55pm UTC](https://discuss.elastic.co/t/what-is-proper-configuration-for-metrics-in-elasticstack-to-reduce-memory-footprint/299950 "2022-03-17T12:55:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sokolmateusz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sokolmateusz/32/103058_2.png) [@sokolmateusz](https://discuss.elastic.co/u/sokolmateusz)\
**Post date:** [March 17, 2022, 12:55pm UTC](https://discuss.elastic.co/t/what-is-proper-configuration-for-metrics-in-elasticstack-to-reduce-memory-footprint/299950/1 "2022-03-17T12:55:40Z")

</div>

I'm using elasticstack for monitoring and logging our kubernetes cluster (with `elasticsearch` , `filebeat` , `metricbeat` , and `kibana` ).

For some reason `metricbeat` collects unprecedented amount of data for just few pods (after a one night it filled 3GB of disc memory).

Right now I'm playing with `metricbeat` yaml configuration to enable/disable certain modules and inspect the footprint but it's a trial-and-error approach.

Did anyone configured `metricbeat` service before and can recommend what should be the most efficient configuration or know how to inspect memory footprint of each metrics module?

Thank you for any tips and guidance.

---

<div class="post-metadata">

**Author:** ![Edoardo\_Tenani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edoardo_tenani/32/94302_2.png) [@Edoardo\_Tenani](https://discuss.elastic.co/u/Edoardo_Tenani)\
**Post date:** [April 14, 2022, 10:49am UTC](https://discuss.elastic.co/t/what-is-proper-configuration-for-metrics-in-elasticstack-to-reduce-memory-footprint/299950/2 "2022-04-14T10:49:55Z")

</div>

Hi @sokolmateusz, from the information you provide is difficult to understand what may be happening here.

Why do you say is "unprecedented"? Could you share the configuration you are using and what you are trying to monitor in details?

---

<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 12, 2022, 10:50am UTC](https://discuss.elastic.co/t/what-is-proper-configuration-for-metrics-in-elasticstack-to-reduce-memory-footprint/299950/3 "2022-05-12T10:50:38Z")

</div>

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