Im using filebeat, installed via helm, from the official helm chart. We are sending logs to ElasticCloud.
My filebeat.yaml
setup.dashboards.enabled: true
logging.metrics:
enabled: false
filebeat.inputs:
- type: container
paths:- /var/lib/docker/containers//.log
processors: - add_kubernetes_metadata:
in_cluster: true - add_cloud_metadata:
- add_host_metadata:
cloud.id: "xxx:xxx"
cloud.auth: "elastic:xxxx"
output.elasticsearch:
hosts: "https://xxx.us-east-1.aws.found.io:9243"
setup.kibana:
host: "https://xxx.us-east-1.aws.found.io:9243"
- /var/lib/docker/containers//.log
Im getting logs, but im not getting things like.. the pod name, the namespace, any annotations or labels. So I cant really tell what log goes with what service.
Thanks,