Skip to content

Commit

Permalink
Update filebeat.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bthorat5 authored Oct 28, 2024
1 parent 0510a68 commit 4585c2b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions diagnostics/opensearch/filebeat/conf/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ processors:
- drop_fields:
fields: docker.container.labels
ignore_missing: true
setup.template.name: "filebeat-7.11.2"
setup.template.pattern: "filebeat-7.11.2-*"
setup.template.name: "filebeat-%{[agent.version]}"
setup.template.pattern: "filebeat-%{[agent.version]}-*"
output.elasticsearch:
hosts: '${ELASTIC_HOST}'
indices:
- index: "%{[datastream]}"
when.not.equals:
datastream: "unknown"
- index: "filebeat-7.11.2-%{[tenant.name]}-%{[docker.attrs.ROLE_NAME]}-%{+yyyy.MM.dd}"
- index: "filebeat-%{[agent.version]}-new-%{[tenant.name]}-%{[docker.attrs.ROLE_NAME]}-%{+yyyy.MM.dd}"
when.equals:
serviceLevelIndex: "yes"
- index: "filebeat-7.11.2-%{[tenant.name]}-%{+yyyy.MM.dd}"
- index: "filebeat-%{[agent.version]}-new-%{+yyyy.MM.dd}"
when.equals:
tenantLevelIndex: "yes"
bulk_max_size: '${BULK_MAX_SIZE:50}'
worker: '${WORKER_COUNT:1}'
worker: '${WORKER_COUNT:1}'

0 comments on commit 4585c2b

Please sign in to comment.