in my helm values file I have the following and I was going to comment out the second log to see if it makes a difference
processors:
# Add Kubernetes metadata | Filebeat Reference [7.7] | Elastic
- add_kubernetes_metadata:
in_cluster: true
host: ${NODE_NAME}
matchers:
- logs_path:
logs_path: "/var/log/containers/"
resource_type: "container"
- logs_path:
logs_path: "/var/lib/docker/containers/"
resource_type: "container"
but when it tries to start the pod I get the following:
Exiting: Failed to start crawler: starting input failed: error while initializing input: fail to unpack the kubernetes configuration: invalid logs_path defined for resource_type: container │
│ , valid value is /var/log/containers/
accessing 'filebeat.inputs.0.processors.0.add_kubernetes_metadata' (source:'filebeat.yml')