From 1526eb4354495f4c0c600431580f1a2fe99a7b94 Mon Sep 17 00:00:00 2001 From: ycz Date: Mon, 6 Jan 2025 10:51:04 +0800 Subject: [PATCH] update toc logstash --- toc-upgrade/elastic/logstash.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/toc-upgrade/elastic/logstash.yaml b/toc-upgrade/elastic/logstash.yaml index 80c58ec..9dd47c9 100644 --- a/toc-upgrade/elastic/logstash.yaml +++ b/toc-upgrade/elastic/logstash.yaml @@ -5,8 +5,12 @@ metadata: data: logstash.conf: |- input { - beats { - port => 5044 + kafka{ + bootstrap_servers => "10.2.0.12:30002,10.2.0.12:30003,10.2.0.12:30004" + topics => ["logback-tcs-1"] + group_id => "logstash-tcs" + auto_offset_reset => "earliest" + codec => json } }