# How to add cluster name in the event using add-kubernetes-metadata processor

**URL:** https://discuss.elastic.co/t/how-to-add-cluster-name-in-the-event-using-add-kubernetes-metadata-processor/299784
**Category:** Beats
**Tags:** filebeat
**Created:** [March 15, 2022, 8:17pm UTC](https://discuss.elastic.co/t/how-to-add-cluster-name-in-the-event-using-add-kubernetes-metadata-processor/299784 "2022-03-15T20:17:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dario\_Louzado](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dario\_Louzado](https://discuss.elastic.co/u/Dario_Louzado)
#### Post date: [March 15, 2022, 8:17pm UTC](https://discuss.elastic.co/t/how-to-add-cluster-name-in-the-event-using-add-kubernetes-metadata-processor/299784/1 "2022-03-15T20:17:12Z")

</div>

Hi,  
I'm using [kubernetes autodiscover](https://www.elastic.co/guide/en/beats/filebeat/7.17/configuration-autodiscover.html) with [add-kubernetes-metadata](https://www.elastic.co/guide/en/beats/packetbeat/7.17/add-kubernetes-metadata.html) processor.

In the log event I could not find the kubernetes cluster name. Only the namespace.  
How can I get this information?

Thanks in advance.  
Regards.

---

<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: [April 12, 2022, 10:18pm UTC](https://discuss.elastic.co/t/how-to-add-cluster-name-in-the-event-using-add-kubernetes-metadata-processor/299784/2 "2022-04-12T22:18:01Z")

</div>

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