Fluentd elasticsearch와 연결이 끊어질 때, buffer 설정
2025. 2. 7. 22:25ㆍEFK
오류
[warn]: #0 failed to flush the buffer. retry_times=0 next_retry_time=2025-02-06 14:46:28 +0900 chunk="62d72c2b628c703009>
조치
<match myapp.logs>
@type elasticsearch
host elasticsearch-host
port 9200
logstash_format true
<buffer>
flush_mode interval
flush_interval 5s
retry_max_times 10
retry_wait 3s
chunk_limit_size 8MB
queue_limit_length 128
</buffer>
</match>
'EFK' 카테고리의 다른 글
Kibana FATAL Error: [config validation of [elasticsearch].apiKey]: definition for this key is missing (0) | 2025.02.07 |
---|---|
Elasticsearch 버전 확인 (0) | 2025.02.07 |
Fluentd nginx error 로그의 패턴이 일정하지 않을 때 처리 (0) | 2025.02.04 |
Fluentd 400 - Rejected by Elasticsearch (0) | 2025.02.04 |
Fluentd ubuntu에 서비스 등록하기 (0) | 2025.02.02 |