[root@linux1 bin]# ./logstash -e 'input { stdin{}} output{stdout{codec => rubydebug}}'

 

 

测试自定义语法是否正确

 

 把最后的  -t 去掉,正式启动

 

 

 

posted on 2022-06-15 10:48  401335990  阅读(22)  评论(0)    收藏  举报