Skip to content

Commit

Permalink
Fix path in hits docs (#20447) (#20854)
Browse files Browse the repository at this point in the history
(cherry picked from commit f295609)
  • Loading branch information
jsoriano authored Aug 31, 2020
1 parent ce01358 commit feeed72
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 feeed72

Please sign in to comment.