EFK

    [EFK] fluentd 오류 해결 failed to flush the buffer

    [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

    [EFK] kibana 오류 해결 Unable to write to UUID file

    kibana data 폴더를 로컬에 마운트해서 사용할 때, 마운트할 폴더를 미리 생성해두지 않으면 발생할 수 있는 오류이다. 폴더가 존재하지 않으면 root 소유로 폴더가 자동생성된다. 따라서 도커안에서 폴더에 접근 및 쓰기가 불가능해져서 저러한 오류를 발생시키고 kibana가 종료되게 되는 것이다. 루트 권한으로 해당 폴더를 삭제한 후 kibana를 실행하는 유저 권한으로 다시 만들고 실행하자. 도커 컴포즈에서 데이터를 마운트해서 저장하고 사용할 시에는 미리 폴더를 생성해두자!

    [EFK] fluentd broken pipe 오류 해결

    엔드포인트에서 tcp 연결을 닫은 경우 발생한다. elasticsearch node가 정상 상태인지 확인이 필요하다.