update filebeat output kafka

main
ycz008 2024-02-23 14:39:03 +08:00
parent 8b61b02167
commit c41d5d77c4
3 changed files with 30 additions and 6 deletions

View File

@ -34,8 +34,16 @@ data:
tags: ['json']
#All data to indexed to Elasticsearch
output.logstash:
hosts: ["logstash.dev.svc:5044"]
output.kafka:
hosts: ["10.2.0.12:30002","10.2.0.12:30003","10.2.0.12:30004"]
topic: 'beaconfire-logback-dev'
partition.round_robin:
reachable_only: false
required_acks: 1
compression: gzip
max_message_bytes: 1000000
---
apiVersion: apps/v1

View File

@ -34,8 +34,16 @@ data:
tags: ['json']
#All data to indexed to Elasticsearch
output.logstash:
hosts: ["log-app.beaconfireinc.com:30012"]
output.kafka:
hosts: ["10.2.0.12:30002","10.2.0.12:30003","10.2.0.12:30004"]
topic: 'beaconfire-logback-prod'
partition.round_robin:
reachable_only: false
required_acks: 1
compression: gzip
max_message_bytes: 1000000
---
apiVersion: apps/v1

View File

@ -34,8 +34,16 @@ data:
tags: ['json']
#All data to indexed to Elasticsearch
output.logstash:
hosts: ["logstash.tcs.svc:5044"]
output.kafka:
hosts: ["10.2.0.12:30002","10.2.0.12:30003","10.2.0.12:30004"]
topic: 'beaconfire-logback-tcs'
partition.round_robin:
reachable_only: false
required_acks: 1
compression: gzip
max_message_bytes: 1000000
---
apiVersion: apps/v1