# Namespace labels to kubernetes metadata - ELasticsearch - Metricbeat

**URL:** <https://discuss.elastic.co/t/namespace-labels-to-kubernetes-metadata-elasticsearch-metricbeat/238925>\
**Category:** Beats\
**Tags:** filebeat, metricbeat\
**Created:** [June 27, 2020, 3:55am UTC](https://discuss.elastic.co/t/namespace-labels-to-kubernetes-metadata-elasticsearch-metricbeat/238925 "2020-06-27T03:55:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek\_acharya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhishek_acharya/32/70580_2.png) [@abhishek\_acharya](https://discuss.elastic.co/u/abhishek_acharya)\
**Post date:** [June 27, 2020, 3:55am UTC](https://discuss.elastic.co/t/namespace-labels-to-kubernetes-metadata-elasticsearch-metricbeat/238925/1 "2020-06-27T03:55:57Z")

</div>

Hi  
I am working on an issue where i have assigned labels to my kubernetes namespace externally through kubectl command and wanted to get those kubernetes namespace labels in the metricbeat. I am following this [https://github.com/elastic/beats/issues/14044](https://github.com/elastic/beats/issues/14044).  
I have seen that this feature is now added in the ES 7.x, but i am using ES 6.6. so is there any way to support this feature in ES 6.6 or modifying the code in my 6.6 forked branch to support this? Is there any possible solution available?

It would be great if you just give me an update or some guidance on this.  
Thanks,  
Abhishek

---

<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:** [July 25, 2020, 5:56am UTC](https://discuss.elastic.co/t/namespace-labels-to-kubernetes-metadata-elasticsearch-metricbeat/238925/2 "2020-07-25T05:56:03Z")

</div>

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