Error with filebeat on kubernetes 1.20 using add_kubernetes_metadata

Hello,

I installed filebeat 7.10.1 on a kubernetes cluster 1.20 using the DaemonSet from https://github.com/elastic/beats/blob/master/deploy/kubernetes/filebeat/filebeat-configmap.yaml

Using the hints based autodiscover, if I add the add_kubernetes_metadata processor, I'm getting the error on every log file being processed :

add_kubernetes_metadata/matchers.go:91	Error extracting container id - source value does not contain matcher's logs_path '/var/lib/docker/containers/'.

I checked and I have the containers' logs in both folders /var/log/containers/ and /var/log/containers/.

It was working under kubernetes 1.18.13 without issue (add_kubernetes_metadata enabled)

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