# Send metrics from specific namespaces in kubernetes using metricbeat

**URL:** <https://discuss.elastic.co/t/send-metrics-from-specific-namespaces-in-kubernetes-using-metricbeat/301726>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 6, 2022, 9:01am UTC](https://discuss.elastic.co/t/send-metrics-from-specific-namespaces-in-kubernetes-using-metricbeat/301726 "2022-04-06T09:01:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sherlock06](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@Sherlock06](https://discuss.elastic.co/u/Sherlock06)\
**Post date:** [April 6, 2022, 9:01am UTC](https://discuss.elastic.co/t/send-metrics-from-specific-namespaces-in-kubernetes-using-metricbeat/301726/1 "2022-04-06T09:01:25Z")

</div>

is there a way for us to configure the metric beat config file to be able to fetch cpu/memory metrics only from specific namespaces in kubernetes. We are running a metric beat pod as daemon set on open-shift. Using metric beat image version 7.16.3 and elk version 7.16.3

---

<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, 2022, 11:02am UTC](https://discuss.elastic.co/t/send-metrics-from-specific-namespaces-in-kubernetes-using-metricbeat/301726/2 "2022-05-04T11:02:16Z")

</div>

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