# Incorrect filebeat nginx mappings with kubernetes deployment

**URL:** <https://discuss.elastic.co/t/incorrect-filebeat-nginx-mappings-with-kubernetes-deployment/215046>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 14, 2020, 9:05pm UTC](https://discuss.elastic.co/t/incorrect-filebeat-nginx-mappings-with-kubernetes-deployment/215046 "2020-01-14T21:05:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurentiusoica](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/laurentiusoica/32/27342_2.png) [@laurentiusoica](https://discuss.elastic.co/u/laurentiusoica)\
**Post date:** [January 14, 2020, 9:05pm UTC](https://discuss.elastic.co/t/incorrect-filebeat-nginx-mappings-with-kubernetes-deployment/215046/1 "2020-01-14T21:05:44Z")

</div>

While using the k8s manifest from here [https://raw.githubusercontent.com/elastic/beats/7.5/deploy/kubernetes/filebeat-kubernetes.yaml](https://raw.githubusercontent.com/elastic/beats/7.5/deploy/kubernetes/filebeat-kubernetes.yaml)

The nginx module mappings looks like these:

```
        "nginx" : {
      "properties" : {
        "access" : {
          "properties" : {
            "geoip" : {
              "type" : "object"
            },
            "user_agent" : {
              "type" : "object"
            }
          }
        },
        "error" : {
          "properties" : {
            "connection_id" : {
              "type" : "long"
            }
          }
        }
      }
    },

```

I was expecting to get the mappings as defined in the fields.yaml file.

---

<div class="post-metadata">

**Author:** ![laurentiusoica](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/laurentiusoica/32/27342_2.png) [@laurentiusoica](https://discuss.elastic.co/u/laurentiusoica)\
**Post date:** [January 16, 2020, 6:50am UTC](https://discuss.elastic.co/t/incorrect-filebeat-nginx-mappings-with-kubernetes-deployment/215046/2 "2020-01-16T06:50:14Z")

</div>

Most of the nginx properties are defined as aliases. It feels like the aliases are not getting their way into the final template.

---

<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:** [February 13, 2020, 6:50am UTC](https://discuss.elastic.co/t/incorrect-filebeat-nginx-mappings-with-kubernetes-deployment/215046/3 "2020-02-13T06:50:18Z")

</div>

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