Skip to content

Commit

Permalink
fixing the container id
Browse files Browse the repository at this point in the history
  • Loading branch information
srikarduplo committed Sep 4, 2023
1 parent 9de0a9c commit 21661b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diagnostics/opensearch/filebeat/conf/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ filebeat.autodiscover:
hints.default_config:
type: container
paths:
- /var/lib/docker/containers/${data.docker.container.id}/*.log # CRI path
- /var/lib/docker/containers/${data.container.id}/*.log # CRI path
ignore_older: 1d
processors:
- add_cloud_metadata: ~
Expand Down

0 comments on commit 21661b7

Please sign in to comment.