I have a filebeats deployed inside kubernetes cluster. I want fetch logs from containers running in k8s node hosts but deployed outside kubernetes.
I have the standard filebeats config for kubernetes where it should fetch logs from all containers id.
apiVersion: v1
kind: ConfigMap
metadata:
name: filebeat-inputs
namespace: kube-system
labels:
k8s-app: filebeat
data:
kubernetes.yml: |-
- type: docker
containers.ids:
- "*"
processors:
- add_kubernetes_metadata:
in_cluster: true
It is possible fetch that container logs?
Thanks!