# Missing container fields

**URL:** <https://discuss.elastic.co/t/missing-container-fields/195179>\
**Category:** Beats\
**Created:** [August 14, 2019, 9:53am UTC](https://discuss.elastic.co/t/missing-container-fields/195179 "2019-08-14T09:53:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shalvah.deimos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shalvah.deimos/32/46322_2.png) [@shalvah.deimos](https://discuss.elastic.co/u/shalvah.deimos)\
**Post date:** [August 14, 2019, 9:53am UTC](https://discuss.elastic.co/t/missing-container-fields/195179/1 "2019-08-14T09:53:20Z")

</div>

I'm running Filebeat 7.3 on Kubernetes with this configuration:

```auto
    processors:
    - add_cloud_metadata:
    - add_kubernetes_metadata:
        in_cluster: true
    filebeat.autodiscover:
      providers:
      - type: kubernetes
        templates:
        - config:
          - type: container
            paths:
            - /var/lib/docker/containers/${data.kubernetes.container.id}/*.log
            json.keys_under_root: true
            json.add_error_key: false
            json.ignore_decoding_error: true

```

For some reason, the `container.*` fields are missing. The same thing happens for Metricbeat as well. Other ECS fields are present, and the `cloud.*` and `kubernetes.*` fields are present too.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/3/93d8d80bac89b313b76b8fca42105c9a28def624.png)

---

<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:** [September 11, 2019, 11:54am UTC](https://discuss.elastic.co/t/missing-container-fields/195179/2 "2019-09-11T11:54:33Z")

</div>

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