Skip to content

[Helm] Chart does not mount /var/log/containers/ on Elastic-Agent pod, thus no logs are ingested #6204

@belimawr

Description

@belimawr
  • 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

  1. Add the Kubernetes integration with logs enabled to a new Elastic-Agent policy
  2. Follow the steps to install the Helm Chart from our documentation using the policy created on step 1.
  3. 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"

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions