- Version:
8.16.0, main,
- Operating System: Kubernetes
The Helm chart does not mount /var/log/containers/ into the Elastic-Agent container, therefore it cannot read logs from any container in the cluster.
Steps to reproduce
- Add the Kubernetes integration with logs enabled to a new Elastic-Agent policy
- Follow the steps to install the Helm Chart from our documentation using the policy created on step 1.
- There will be no logs ingested from the Kubernetes cluster. You can confirm that by filtering the logs using
event.dataset: kubernetes.container_logs
Workaround
Use the manifest provided in Kibana when selecting "Add agent" -> "Kubernetes"