If we have a single filebeat pod running on a kubernetes worker node with two inputs both using the same container id list will this cause a problem?
filebeat.autodiscover:
providers:
- type: kubernetes
templates:
- config:
- type: docker
cri:
parse_flags: true
force: true
containers:
path: /var/data/kubeletlogs
ids:
- "/${data.kubernetes.pod.uid}/${data.kubernetes.container.name}"
fields_under_root: true
fields:
oiqformat: infra
condition:
not:
equals:
kubernetes.labels.oiqlogformat: ddiq
- config:
- type: docker
cri:
parse_flags: true
force: true
containers:
path: /var/data/kubeletlogs
ids:
- "/${data.kubernetes.pod.uid}/${data.kubernetes.container.name}"
fields_under_root: true
fields:
oiqformat: ddiq
multiline.pattern: '^(INFO|WARN|FATAL|ERR|DEBUG|{)'
multiline.negate: true
multiline.match: after
condition:
equals:
kubernetes.labels.oiqlogformat: ddiq