한만큼 2020. 6. 16. 18:16

Logstash 



서버 211.233.74.227
pg table : expedia_region_union → ES index : region_union 연동 conf vi /etc/logstash/conf.d/pg-logstash-es-05-18-mon.conf
jvm.options vi /etc/logstash/jvm.options : -Xms12g -Xmx12g로 변경
startup.options vi /etc/logstash/startup.options : 설정 확인
pipelines.yml

디폴트 파일 /etc/logstash/pipelines.yml을 /etc/logstash/pipelines-default.yml로 변경

(해당 파일은 conf.d 경로 아래있는 conf 파일 모두 읽음)

/etc/logstash/pipelines.yml에 conf 파일 지정

에러 log 확인 tail -n 5 /var/log/logstash/logstash-plain.log
 

systemctl status logstash.service -l

systemctl restart logstash.service