I just set up a new helm chart to use add_kubernetes_metadata processor, which seemed to be the way to get k8s annotations based on my googling. But, in the process of trying to figure out which fields are being added, I came across this forum and some pointers to the autodiscover+kubernetes module configuration. Now I'm all backwards because I don't know which I should be using.
This example, for instance, uses the processor: helm-charts/filebeat at master · elastic/helm-charts · GitHub
Which should I be using? In what circumstances should we choose one over the other?