Skip to content

Commit

Permalink
Fix path in hits docs (elastic#20447)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano authored and melchiormoulin committed Oct 14, 2020
1 parent 4323f0c commit c784d0f
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 c784d0f

Please sign in to comment.