filebeat.prospectors: - input_type: log paths: - /opt/hb_product/sit/log/product.log close_older: 1h tail_files: true exclude_lines: ["DEBUG"] multiline.pattern: '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3}' multiline.match: after multiline.negate: true fields: app_name: product_mit fields_under_root: true - input_type: log paths: - /opt/hb_product/mit/log/product.log close_older: 1h tail_files: true exclude_lines: ["DEBUG"] multiline.pattern: '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3}' multiline.match: after multiline.negate: true fields: app_name: product_sit fields_under_root: true #output.elasticsearch: ## hosts: ["192.168.98.248:9200","192.168.98.249:9200","192.168.98.237:9200"] ## index: '${ENV}-%{+yyyy.MM.dd}' ## username: "elastic" ## password: "changeme" # # output.kafka: hosts: ["192.168.13.139:9092"] topic: hbtest partition.round_robin: reachable_only: false required_acks: 0 compression: gzip max_message_bytes: 1000000
浙公网安备 33010602011771号