reason=>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after "}

来源:互联网 发布:推荐淘宝皮鞋店铺 编辑:程序博客网 时间:2024/06/05 11:21

新手使用logstash容易看到的错误,我是在windows下操作的,看到这个错误,经测试

是文件格式问题。


Windows文件默认是utf8 。将文件格式改为:ansi格式就可以了。程序可以正常运行

bin\logstash -f ./config/test.conf


1 0