Filebeat now reads index from env variable
This commit is contained in:
@@ -13,10 +13,20 @@ processors:
|
|||||||
|
|
||||||
output.elasticsearch:
|
output.elasticsearch:
|
||||||
hosts: '${ELASTICSEARCH_HOSTS:elc-0.zipper.release11.com:9200}'
|
hosts: '${ELASTICSEARCH_HOSTS:elc-0.zipper.release11.com:9200}'
|
||||||
index: 'xmltools-dev-%{+yyyy.MM}'
|
index: 'xmltools-${ENV_TYPE}-%{+yyyy.MM}'
|
||||||
|
|
||||||
|
|
||||||
setup.template:
|
setup.template:
|
||||||
name: 'xmltools-dev'
|
name: 'xmltools-dev'
|
||||||
pattern: 'xmltools-*'
|
pattern: 'xmltools-*'
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
setup.template:
|
||||||
|
name: 'xmltools-test'
|
||||||
|
pattern: 'xmltools-*'
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
setup.template:
|
||||||
|
name: 'xmltools-prod'
|
||||||
|
pattern: 'xmltools-*'
|
||||||
|
enabled: false
|
||||||
Reference in New Issue
Block a user