Skip to content

Commit

Permalink
updated env name
Browse files Browse the repository at this point in the history
  • Loading branch information
Duplo-Yashwant committed Dec 5, 2024
1 parent c181284 commit 198a41c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions diagnostics/opensearch/filebeat/conf/filebeat-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ setup.template.name: "filebeat-%{[agent.version]}"
setup.template.pattern: "filebeat-%{[agent.version]}-*"
output.elasticsearch:
hosts: '${ELASTIC_HOST}'
index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_NAME:}%{+yyyy.MM.dd}"
index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_SUFFIX:}%{+yyyy.MM.dd}"
indices:
- index: "%{[datastream]}"
when.not.equals:
datastream: "unknown"
- index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_NAME:}%{[tenant.name]}-%{[kubernetes.container.name]}-%{+yyyy.MM.dd}"
- index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_SUFFIX:}%{[tenant.name]}-%{[kubernetes.container.name]}-%{+yyyy.MM.dd}"
when.equals:
serviceLevelIndex: "yes"
- index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_NAME:}%{[tenant.name]}-%{+yyyy.MM.dd}"
- index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_SUFFIX:}%{[tenant.name]}-%{+yyyy.MM.dd}"
when.equals:
tenantLevelIndex: "yes"
bulk_max_size: '${BULK_MAX_SIZE:50}'
Expand Down
6 changes: 3 additions & 3 deletions diagnostics/opensearch/filebeat/conf/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ setup.template.name: "filebeat-%{[agent.version]}"
setup.template.pattern: "filebeat-%{[agent.version]}-*"
output.elasticsearch:
hosts: '${ELASTIC_HOST}'
index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_NAME:}%{+yyyy.MM.dd}"
index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_SUFFIX:}%{+yyyy.MM.dd}"
indices:
- index: "%{[datastream]}"
when.not.equals:
datastream: "unknown"
- index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_NAME:}%{[tenant.name]}-%{[docker.attrs.ROLE_NAME]}-%{+yyyy.MM.dd}"
- index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_SUFFIX:}%{[tenant.name]}-%{[docker.attrs.ROLE_NAME]}-%{+yyyy.MM.dd}"
when.equals:
serviceLevelIndex: "yes"
- index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_NAME:}%{[tenant.name]}-%{+yyyy.MM.dd}"
- index: "filebeat-%{[agent.version]}-${CUSTOM_INDEX_SUFFIX:}%{[tenant.name]}-%{+yyyy.MM.dd}"
when.equals:
tenantLevelIndex: "yes"
bulk_max_size: '${BULK_MAX_SIZE:50}'
Expand Down

0 comments on commit 198a41c

Please sign in to comment.