# Filebeat not sending kubernetes metadata

**URL:** <https://discuss.elastic.co/t/filebeat-not-sending-kubernetes-metadata/267054>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 12, 2021, 8:20am UTC](https://discuss.elastic.co/t/filebeat-not-sending-kubernetes-metadata/267054 "2021-03-12T08:20:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martinho\_MOREIRA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martinho_moreira/32/85442_2.png) [@Martinho\_MOREIRA](https://discuss.elastic.co/u/Martinho_MOREIRA)\
**Post date:** [March 12, 2021, 8:20am UTC](https://discuss.elastic.co/t/filebeat-not-sending-kubernetes-metadata/267054/1 "2021-03-12T08:20:25Z")

</div>

Hi,

I just upgrade my filebeat from 7.10.2 to 7.11.2 and kubernetes metadata are missing now:  
Here is my configuration file.  
Did I miss something ?

```auto
filebeat.inputs:
- type: container
  paths:
    - /var/log/containers/*.log
  ignore_old: '15m'
  close_renamed: true
  fields:
    k8scluster: stagingeks
  tail_files: true
  json:
    keys_under_root: true
    ignore_decoding_error: true
    message_key: 'message'
  processors:
    - add_kubernetes_metadata:
        in_cluster: true
        host: ${NODE_NAME}
        matchers:
        - logs_path:
            logs_path: "/var/log/containers/"

```

Thanks,  
Martinho

---

<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 9, 2021, 10:21am UTC](https://discuss.elastic.co/t/filebeat-not-sending-kubernetes-metadata/267054/2 "2021-04-09T10:21:17Z")

</div>

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