From 6c409f932cc5d6ddbf010f80e64755fe7cc05c59 Mon Sep 17 00:00:00 2001 From: happybell80 Date: Tue, 30 Sep 2025 02:44:33 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=EB=A9=80=ED=8B=B0=20=EC=84=9C=EB=B2=84?= =?UTF-8?q?=20Fluent=20Bit=20=EB=A1=9C=EA=B7=B8=20=EC=88=98=EC=A7=91=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20250930_fluent_bit_opensearch_issue.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/troubleshooting/20250930_fluent_bit_opensearch_issue.md b/troubleshooting/20250930_fluent_bit_opensearch_issue.md index 8f238b7..9838526 100644 --- a/troubleshooting/20250930_fluent_bit_opensearch_issue.md +++ b/troubleshooting/20250930_fluent_bit_opensearch_issue.md @@ -66,5 +66,14 @@ 5. **Data Prepper는 JSON 배열만 수락**: HTTP output 대신 es/opensearch 직접 연결 권장 ## 현재 상태 -- dataprepper-static 인덱스에 44,115개 로그 저장 확인 -- 날짜별 인덱스 필요 시 Logstash_Format 설정 추가 필요 \ No newline at end of file +- 로그 정상 수집 중 + +## 멀티 서버 로그 수집 (2025-09-30) +### 문제 +- 51124 서버의 Fluent Bit이 127.0.0.1로 보내서 51123 OpenSearch에 도달 못함 + +### 해결 +- fluent-bit.conf: Host를 ${OPENSEARCH_HOST} 환경변수로 변경 +- 51123 서버 .env: OPENSEARCH_HOST=127.0.0.1 +- 51124 서버 .env: OPENSEARCH_HOST=192.168.219.45 +- 결과: 양쪽 서버 로그 모두 51123 OpenSearch에 수집됨 \ No newline at end of file