Path_match object name in Dynamic templates

Hello,

I created the following dynamic template to apply a custom mapping on the "kubernetes" object and it's subobjects and fields:

It should match these:
kubernetes.container.name
kubernetes.pod.name
kubernetes.pod.id
kubernetes.namespace

    {
      "kubernetes_object": {
        "path_match": "kubernetes*",
        "mapping": {
          "dynamic": true
        }
      }
    }

The problem is, it also matches fields like

kuberneteser.container.name

kubernetesaaaaa.container.name

How can I match kubernetes. exactly? I tried various syntaxes but had no luck

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