LOGSTASH Install on ubuntu
LOGSTASH는
ELK
스택에서 Input에 해당한다. 다양한 형태의 데이터를 받아들여서 사용자가 지정한 형식에 맞게 필터링한 후 ELASTICSEARCH로 보낸다.
Logstash is an open source, server-side data processing pipeline that ingests data from a multitude of sources simultaneously, transforms it, and then sends it to your favorite “stash.”
Install LOGSTASH
Java must required first!!
wget https://artifacts.elastic.co/downloads/logstash/logstash-5.3.1.deb
dpkg -i logstash-5.3.1.deb
- Install path: /usr/share/logstash
Config LOGSTASH
vi logstash-simple.conf
input {
stdin { }
}
output {
stdout { }
}
Run LOGSTASH
sudo /usr/share/logstash/bin/logstash -f ./logstash-simple.conf