Skip to content

Commit

Permalink
Fix path in hits docs (elastic#20447) (elastic#20854)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9382ce2)
  • Loading branch information
jsoriano committed Aug 31, 2020
1 parent b59e976 commit fc8d314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filebeat/docs/autodiscover-hints.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit fc8d314

Please sign in to comment.