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