Skip to content

Commit

Permalink
changing the ignore_older
Browse files Browse the repository at this point in the history
  • Loading branch information
srikarduplo committed Sep 4, 2023
1 parent 21661b7 commit 00895c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diagnostics/opensearch/filebeat/conf/filebeat-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ filebeat.autodiscover:
type: container
paths:
- /var/log/containers/*-${data.container.id}.log # CRI path
ignore_older: 1d
ignore_older: 24h
processors:
#Drop events from other namespaces except Duplo tenants.
- drop_event:
Expand Down
2 changes: 1 addition & 1 deletion diagnostics/opensearch/filebeat/conf/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ filebeat.autodiscover:
type: container
paths:
- /var/lib/docker/containers/${data.container.id}/*.log # CRI path
ignore_older: 1d
ignore_older: 24h
processors:
- add_cloud_metadata: ~
- add_fields:
Expand Down

0 comments on commit 00895c3

Please sign in to comment.