Fluetnd unexpected error error_class=Elastic::Transport::Transport::Error error="connect_write timeout reached"
2025. 2. 1. 18:44ㆍEFK
elasticsearch가 반응하기도 전에 timeout나는 줄 알았는데, port 정보가 잘못되어서 발생한 문제
# 오류 발생
<match test>
@type elasticsearch
# Specify your Elasticsearch host and port.
host {도메인}
port {포트}
scheme {http || https}
api_key {api key}
</match>
# 수정후
<match test>
@type elasticsearch
# Specify your Elasticsearch host and port.
host {도메인}
port {포트}
scheme {http || https}
api_key {api key}
# Increase timeouts:
request_timeout 120 // default is 5s
connect_timeout 30
</match>
'EFK' 카테고리의 다른 글
Fluentd 서비스 종료하기 (0) | 2025.02.01 |
---|---|
Fluentd api key를 사용해서 elasticsearch 접속시, 401 에러 (0) | 2025.02.01 |
Fluentd unexpected error error_class=Elastic::Transport::Transport::Error error="no address for http (Resolv::ResolvError)" (0) | 2025.02.01 |
Metricbeat logging 변경 하기 (0) | 2025.02.01 |
Metricbeat 신규 모듈 추가(작동 안함) (0) | 2025.01.31 |