Implemented sending logs to ElasticSearch with Filebeat (#125)
Co-authored-by: Adam Bem <adam.bem@zoho.eu> Reviewed-on: #125
This commit is contained in:
21
Filebeat/filebeat.docker.yml
Normal file
21
Filebeat/filebeat.docker.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
filebeat.config:
|
||||
modules:
|
||||
path: ${path.config}/modules.d/*.yml
|
||||
reload.enabled: false
|
||||
|
||||
filebeat.autodiscover:
|
||||
providers:
|
||||
- type: docker
|
||||
hints.enabled: true
|
||||
|
||||
processors:
|
||||
- add_cloud_metadata: ~
|
||||
|
||||
output.elasticsearch:
|
||||
hosts: '${ELASTICSEARCH_HOSTS:elc-0.zipper.release11.com:9200}'
|
||||
index: 'xmltools-${ENV_TYPE:dev}-%{+YYYY.MM}'
|
||||
|
||||
|
||||
setup.template:
|
||||
name: "xmltools"
|
||||
pattern: "xmltools-*"
|
||||
Reference in New Issue
Block a user