From feeed7276e0f9ccd387639c2da114b3e456b4591 Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Mon, 31 Aug 2020 13:36:22 +0200 Subject: [PATCH] Fix path in hits docs (#20447) (#20854) (cherry picked from commit f2956098ef62b0fec1ae02e7cb9659dd6b9e6fe9) --- filebeat/docs/autodiscover-hints.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filebeat/docs/autodiscover-hints.asciidoc b/filebeat/docs/autodiscover-hints.asciidoc index 9c1893c8367..de678011763 100644 --- a/filebeat/docs/autodiscover-hints.asciidoc +++ b/filebeat/docs/autodiscover-hints.asciidoc @@ -112,7 +112,7 @@ filebeat.autodiscover: hints.default_config: type: container paths: - - /var/log/container/*-${container.id}.log # CRI path + - /var/log/containers/*-${data.container.id}.log # CRI path ----- You can also disable default settings entirely, so only Pods annotated like `co.elastic.logs/enabled: true` @@ -215,7 +215,7 @@ filebeat.autodiscover: hints.default_config: type: container paths: - - /var/log/container/*-${container.id}.log # CRI path + - /var/log/containers/*-${data.container.id}.log # CRI path ----- You can also disable default settings entirely, so only containers labeled with `co.elastic.logs/enabled: true`