标签:div pat manager service hosts document logs lin match
cat filebeat.yml output.kafka: enabled: true hosts: ["192.168.111.107:9092","192.168.111.108:9092","192.168.111.109:9092"] topic: ‘%{[type]}‘ filebeat.prospectors: #------------------------------ Log prospector -------------------------------- - paths: - /data/logs/financial-manager/server0.log fields: app_id: financial-manager document_type: log-log4j multiline.pattern: ‘^[0-9]{4}-[0-9]{2}-[0-9]{2}\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d\.‘ multiline.negate: true multiline.match: after - paths: - /data/logs/user-service/*.log fields: app_id: user-service document_type: log-log4j multiline.pattern: ‘^[0-9]{4}-[0-9]{2}-[0-9]{2}\s(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d\.‘ multiline.negate: true multiline.match: after - paths: - /data/logs/financial-manager/access_log.log fields: app_id: financial-manager document_type: log-undertow
标签:div pat manager service hosts document logs lin match
原文地址:http://www.cnblogs.com/linkenpark/p/7694159.html