Hi guys. May be anyone can check that?
Im using daemonset of filebeat 7.14.1 in openshift cluster with config
filebeat.autodiscover:
providers:
- type: kubernetes
include_pod_uid: true
in_cluster: true
templates:
- config:
- type: container
paths:
- /var/log/pods/*_${data.kubernetes.pod.uid}/*/*.log
For temp storage using kafka cluster, then logstash cluster get logs from kafka and write to elastic.
Today i'm trying to find logs from container, which running in pod with 2 containers. And some times later found that logs had kubernetes.container.name with name another container in that pod.
I'm checked kubernetes.container.name with log.path.file. You can see that on screenshot.
How to fix that?