EFK
![[EFK] fluentd 오류 해결 failed to flush the buffer](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FYLpY2%2Fbtrzr8xTxWc%2FEdxUOxT7EG5b7fotsWzuq1%2Fimg.png)
[EFK] fluentd 오류 해결 failed to flush the buffer
※ Docker 환경 1. http://localhost:9200/_cluster/health?pretty 로 elasticsearch cluster 상태를 확인해보자 (localhost부분은 서버 hostname, 9200부분은 자신이 설정한 elasticsearch 노드 포트 중 하나로 알아서 변경해서 사용하자) { "cluster_name" : "es", "status" : "green", "timed_out" : false, "number_of_nodes" : 3, "number_of_data_nodes" : 3, "active_primary_shards" : 11, "active_shards" : 22, "relocating_shards" : 0, "initializing_shards" : 0,..
![[EFK] kibana 오류 해결 Unable to write to UUID file](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FvZy9G%2FbtrzuW3JcKe%2FZdTy5csIO6WkxTn0J4Rvr1%2Fimg.png)
[EFK] kibana 오류 해결 Unable to write to UUID file
kibana data 폴더를 로컬에 마운트해서 사용할 때, 마운트할 폴더를 미리 생성해두지 않으면 발생할 수 있는 오류이다. 폴더가 존재하지 않으면 root 소유로 폴더가 자동생성된다. 따라서 도커안에서 폴더에 접근 및 쓰기가 불가능해져서 저러한 오류를 발생시키고 kibana가 종료되게 되는 것이다. 루트 권한으로 해당 폴더를 삭제한 후 kibana를 실행하는 유저 권한으로 다시 만들고 실행하자. 도커 컴포즈에서 데이터를 마운트해서 저장하고 사용할 시에는 미리 폴더를 생성해두자!
[EFK] fluentd broken pipe 오류 해결
엔드포인트에서 tcp 연결을 닫은 경우 발생한다. elasticsearch node가 정상 상태인지 확인이 필요하다.