It is not exactly that add_kubernetes_metadata is enabled when using hints-based autodiscover. When using hints-based autodiscover, Beats will include in events the same metadata that would be included by this processor, but only for events of configurations generated from hints.
Functionally this is indeed similar to using add_kubernetes_metadata, but enrichment done by hints-based autodiscover is generally more optimal in resources.
It won't be enabled. Enrichment will only be done for configurations generated from hints, but won't happen for the configurations generated from templates.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.