Autodiscover and processors

Hi,

If I have the following config

    metricbeat.autodiscover:
      providers:
        - type: kubernetes
          host: ${NODE_NAME}
          hints.enabled: true

Is it redundant to also specify:

    processors:
      - add_kubernetes_metadata:
          in_cluster: true
          host: ${NODE_NAME}

Best, Justin

Yes, autodiscover will automatically enrich all configs with kubernetes metadata, so you don't need to add the processor.

Best regards

Thanks for confirming that @exekias!

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