LogStash :
1 install
wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add - cat >> /etc/apt/sources.list <<EOF deb http://packages.elasticsearch.org/logstash/5.0/debian stable main EOF apt-get update apt-get install logstash
2 Hello World
# bin/logstash -e ‘input{stdin{}}output{stdout{codec=>rubydebug}}‘
原文:http://www.cnblogs.com/zsr0401/p/6296750.html