Filebeat now reads index from env variable

This commit is contained in:
2023-03-16 15:37:07 +01:00
parent 2b649e0dc5
commit 52d8e6e6ee

View File

@@ -13,10 +13,20 @@ processors:
output.elasticsearch:
hosts: '${ELASTICSEARCH_HOSTS:elc-0.zipper.release11.com:9200}'
index: 'xmltools-dev-%{+yyyy.MM}'
index: 'xmltools-${ENV_TYPE}-%{+yyyy.MM}'
setup.template:
name: 'xmltools-dev'
pattern: 'xmltools-*'
enabled: false
setup.template:
name: 'xmltools-test'
pattern: 'xmltools-*'
enabled: false
setup.template:
name: 'xmltools-prod'
pattern: 'xmltools-*'
enabled: false