docker
![[EFK] fluentd 오류 해결 failed to flush the buffer](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FYLpY2%2Fbtrzr8xTxWc%2FAAAAAAAAAAAAAAAAAAAAAC2FtLhhYOyABkeLbaR9pQlDlX_mZne8gP292u3Pcnp6%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DSc5QHUDZRQuOb8Y8yYnsk2ltdt8%253D)
[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%2Fdna%2FvZy9G%2FbtrzuW3JcKe%2FAAAAAAAAAAAAAAAAAAAAAAxU-WnqIUR7kfYidjzFxFVXiu8jOHdN3M2pubIzhxvK%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DlQ71CgZ%252F1%252F0B%252Ff6%252Fc9mrnEpr4ss%253D)
[EFK] kibana 오류 해결 Unable to write to UUID file
kibana data 폴더를 로컬에 마운트해서 사용할 때, 마운트할 폴더를 미리 생성해두지 않으면 발생할 수 있는 오류이다. 폴더가 존재하지 않으면 root 소유로 폴더가 자동생성된다. 따라서 도커안에서 폴더에 접근 및 쓰기가 불가능해져서 저러한 오류를 발생시키고 kibana가 종료되게 되는 것이다. 루트 권한으로 해당 폴더를 삭제한 후 kibana를 실행하는 유저 권한으로 다시 만들고 실행하자. 도커 컴포즈에서 데이터를 마운트해서 저장하고 사용할 시에는 미리 폴더를 생성해두자!