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
- reason=>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after "}
- Expected one of #, input, filter, output at line 2, column 1 (byte 2): Logstash
- Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 498
- android retrofit End of input at line 1 column 1 path
- java.lang.IllegalStateException: Expected BEGIN_OBJECT but was was STRING at line 1 column 1
- 解析json Expected BEGIN_ARRAY but was NUMBER at line 1 column 5
- Gson 解析时候报错: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
- java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 81
- java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 39 path $
- android报错 Expected BEGIN_OBJECT but was STRING at line 1 column 39 path $
- Expected BEGIN_OBJECT but was BEGIN_ARRARY at line 1 column 2 path$异常解决方法
- Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path 解决办法
- Gson 解析时候报错: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
- com.google.gson.stream.MalformedJson Expected literal value at line 1 column 28
- 报错 Expected BEGIN_ARRAY but was STRING at line 1 column 2
- Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path 解决办法
- java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
- java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
- Linux date 显示设置时间命令学习
- POJ 3069 Saruman's Army 贪心
- 第十一周项目二空心三角形
- 【bzoj1087】互不侵犯King 状态压缩dp
- Mybatis快速入门
- reason=>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after "}
- 【Python入门】 使用 pip 安装 pySerial 串口通讯模块
- postgresql新手入门
- Cordova Introduce
- java关键字和保留字
- RabbitMQ理论学习
- Linux下date命令,格式化输出,时间设置
- 配置JAVA环境变量
- C通讯录链表版