# Is add\_kubernetes\_metadata in filebeat enabled by default?

**URL:** <https://discuss.elastic.co/t/is-add-kubernetes-metadata-in-filebeat-enabled-by-default/232064>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 11, 2020, 3:51pm UTC](https://discuss.elastic.co/t/is-add-kubernetes-metadata-in-filebeat-enabled-by-default/232064 "2020-05-11T15:51:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![camilisette](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camilisette/32/68079_2.png) [@camilisette](https://discuss.elastic.co/u/camilisette)\
**Post date:** [May 11, 2020, 3:51pm UTC](https://discuss.elastic.co/t/is-add-kubernetes-metadata-in-filebeat-enabled-by-default/232064/1 "2020-05-11T15:51:16Z")

</div>

Just a general question I guess since the documentation wasn't very clear to me.

When running Filebeat on Kubernetes as instructed here,  
[https://www.elastic.co/guide/en/beats/filebeat/master/running-on-kubernetes.html](https://www.elastic.co/guide/en/beats/filebeat/master/running-on-kubernetes.html)  
Is the add\_kubernetes\_metadata processor supposed to be enabled by default? Or do I need to configure to enable?

I'm using v7.6.

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [May 11, 2020, 6:30pm UTC](https://discuss.elastic.co/t/is-add-kubernetes-metadata-in-filebeat-enabled-by-default/232064/2 "2020-05-11T18:30:38Z")

</div>

Hi @camilisette, welcome to discuss 🙂

`add_kubernetes_metadata` is enabled by default in the [reference configuration](https://raw.githubusercontent.com/elastic/beats/7.6/deploy/kubernetes/filebeat-kubernetes.yaml) mentioned on this link, so if you are using this configuration you don't need to add anything else.

This reference configuration also contains instructions about hints-based autodiscover. When using this, same metadata is added without needing to use `add_kubernetes_metadata`.

---

<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:** [June 8, 2020, 6:30pm UTC](https://discuss.elastic.co/t/is-add-kubernetes-metadata-in-filebeat-enabled-by-default/232064/3 "2020-06-08T18:30:57Z")

</div>

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