java-uic.yml
652 Bytes
filebeat.prospectors:
- input_type: log
paths:
- /Data/logs/uic/register-log.log
tags: ["uic_register"]
tail_files: true
document_type: uic_register
- input_type: log
paths:
- /Data/logs/uic/uic-login-log.log
tags: ["uic_login"]
tail_files: true
document_type: uic_login
- input_type: log
paths:
- /Data/logs/uic/debug-log.log
tags: ["trace_debug"]
document_type: trace_debug
tail_files: true
multiline.pattern: '^\['
multiline.negate: true
multiline.match: after
output.kafka:
enabled: true
hosts: ["{{ kafka_hosts }}"]
topic: '%{[type]}'
compression: snappy
max_message_bytes: 10000000
worker: 2