Kubernetes autodiscover with annotation not working

I want to enable log collecting on specific pods (or namespace, but I'm trying to enable it on pods first).

I disabled hints/default_config

filebeat.autodiscover:
  providers:
    - type: kubernetes
      node: ${NODE_NAME}
      hints.enabled: true
      hints.default_config:
        enabled: false
        type: container
        paths:
          - /var/log/containers/*-${data.kubernetes.container.id}.log

and configured a pod running with annotation co.elastic.logs/enabled: "true"

But there's still no data collected to my es

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.