Hi!
I was using Kubernetes with this version of Filebeat: docker.elastic.co/beats/filebeat:7.3.2
In order to use the new functionalities to parser nginx-ingress-controller I've update to docker.elastic.co/beats/filebeat:7.7.0
But with my configuration, only changing the image I have some errors.
2020-05-13T14:26:25.084Z ERROR [kubernetes] add_kubernetes_metadata/matchers.go:91 Error extracting container id - source value does not contain matcher's logs_path '/var/lib/docker/containers/'.
I read that was removing the support for add_kubernetes_metadata
https://www.elastic.co/guide/en/beats/libbeat/current/release-notes-7.7.0.html
So... I don't know how I should configure my filebeat. I'm using this configuration, I should replace by another thing?
filebeat.inputs:
- type: container
paths:
- /var/log/containers/*.log
multiline.pattern: '^[[:space:]]+(at|\.{3})\b|^Caused by:'
multiline.negate: false
multiline.match: after
processors:
- add_kubernetes_metadata:
in_cluster: true
host: ${NODE_NAME}
matchers:
- logs_path:
logs_path: "/var/log/containers/"
Thank you very much