diff --git a/libbeat/docs/shared-autodiscover.asciidoc b/libbeat/docs/shared-autodiscover.asciidoc index 8b7686c78a9..a43dc713509 100644 --- a/libbeat/docs/shared-autodiscover.asciidoc +++ b/libbeat/docs/shared-autodiscover.asciidoc @@ -212,11 +212,11 @@ metricbeat.autodiscover: - type: kubernetes templates: ... - appenders: - - type: config - condition.equals: - kubernetes.labels.app: "prometheus" - config: - fields: - type: monitoring + appenders: + - type: config + condition.equals: + kubernetes.namespace: "prometheus" + config: + fields: + type: monitoring -------------------------------------------------------------------------------------