[root@linux1 bin]# ./logstash -e 'input { stdin{}} output{stdout{codec => rubydebug}}'
测试自定义语法是否正确
把最后的 -t 去掉,正式启动