Filebeat now reads index from env variable
This commit is contained in:
		| @@ -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 | ||||
		Reference in New Issue
	
	Block a user