Category : DevOps

[logstash] Mysql DB에서 입력받아 Elasticsearch로 보내기

logstash는 실시간 파이프라인 기능을 가진 오픈소스 데이터 수집 엔진이다. 자세한 설명은 아래의 공식 문서를 참조하자. https://www.elastic.co/guide/en/logstash/current/introduction.html 간단히 말해서 데이터를 수집 해서 원하는 형태로 가공하여 출력해주는 도구이다. 따라서 입력과 필터 그리고 출력을 어떤형태로 할것인지 기술해놓은 아래와 같은 설정파일이 필요하다. # This is a comment. You should use comments to describe # parts of your configuration. input

Read More →