[config 설정]
##### elasticsearch.yml #####
cluster.name: 클러스터명
node.name: 노드명
path.conf: 설정 파일 경로 (default: config/)
path.data: 데이터 파일 경로 (default: data/
path.work: 임시 작업 파일 경로
path.logs: 로그 파일 경로 (default: logs/)
path.plugins: 플러그인이 설치되는 경로
bootstrap.mlockall: 자바 가상머신이 엘라스틱서치가 사용하지 않는 메모리를 swap 하는것을 방지시킬 수 있다. (true/false)
- true 권장
- 시스템 전체 메모리의 50%가 넘지 않도록 하는것이 안정적이다.
network.bind_host: 엘라스틱서치 서버의 내부 IP주소
network.publish_host: 외부 IP주소
network.host: 위 두개가 같을경우 한번에 설정
transport.tcp.compress: 데이터를 압축하여 전송하게 된다. (true/false)
http.max_content_length: 설정된 용량을 초과하면 데이터를 전송하지 않음 (ex. 100mb)
http.enable: REST API 통신 유무 (true/false)
################## LOG ##################
index.search.slowlog.threshold.query.warn: 10s
index.search.slowlog.threshold.query.info: 5s
index.search.slowlog.threshold.query.debug: 2s
index.search.slowlog.threshold.query.trace: 500ms
index.search.slowlog.threshold.fetch.warn:1s
index.search.slowlog.threshold.fetch.info: 800ms
index.search.slowlog.threshold.fetch.debug: 500ms
index.search.slowlog.threshold.fetch.trace: 200ms
index.search.slowlog.threshold.index.warn: 10s
index.search.slowlog.threshold.index.info: 5s
index.search.slowlog.threshold.index.debug: 2s
index.search.slowlog.threshold.index.trace: 500ms
##########################################