java-gateway.yml
527 Bytes
filebeat.prospectors:
- input_type: log
paths:
- /Data/logs/gateway/debug.log
tags: ["trace_debug"]
document_type: trace_debug
tail_files: true
multiline.pattern: '^\['
multiline.negate: true
multiline.match: after
- input_type: log
paths:
- /Data/logs/gateway/gateway_access.log
tags: ["gateway_access"]
document_type: gateway_access
max_backoff: 5s
output.kafka:
enabled: true
hosts: ["{{ kafka_hosts }}"]
topic: '%{[type]}'
compression: snappy
max_message_bytes: 10000000
worker: 2