[root@ELk logstash-1.5.4]# cat logstash-stdin.conf
input {
stdin{}
}
output {
stdout{}
}
[root@ELk logstash-1.5.4]# bin/logstash agent -f logstash-stdin.conf
Logstash startup completed
Hello World
2015-10-27T07:37:26.435Z ELk Hello World
阅读(1181) | 评论(0) | 转发(0) |