filebeat.elasticsearch.yml
filebeat.registry.path: registry.elasticsearch
processors:
- add_host_metadata:
netinfo.enabled: true
filebeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: true
reload.period: 1h
filebeat.modules:
- module: apache
access:
var.paths: ["/var/log/apache2/*/access.log"]
error:
var.paths: ["/var/log/apache2/*/error.log"]
output.elasticsearch:
compression_level : 5
hosts : elastic-zmb-pool
loadbalance : true
worker : 2