Filebeat: "memory leak" via filebeat.autodiscover and >>200.000 goroutines

Thanks! The memory heaps look familiar indeed.
Can you also remove the

processor?

The kubernetes provider is adding the metadata by default so you don't need the extra processor for this.

C.