Autodiscover and processors


(Justin Walz) #1

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


(Carlos PĂ©rez Aradros) #2

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

Best regards


(Justin Walz) #3

Thanks for confirming that @exekias!


(system) #4

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