logstatsh push 安装

见 logstash shipper 安装方法
#push 配置文件
#index.conf
input {
redis {
host =>["192.168.211.128"]
port => "6379"
data_type => "list"
key => "logstash"
type =>"msg"
codec => "json"
}
}
output {
elasticsearch {
codec => "json"
hosts =>"10.0.0.86"
#host =>"10.0.0.86"
#port =>9300
#cluster => "lrek"
}
}
启动inder:
bin/logstash -f conf/index.conf --log logs/index.log &
