reason=>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after "}
2016-11-15 21:51
381 查看
新手使用logstash容易看到的错误,我是在windows下操作的,看到这个错误,经测试
是文件格式问题。
是文件格式问题。
Windows文件默认是utf8 。将文件格式改为:ansi格式就可以了。程序可以正常运行
bin\logstash -f ./config/test.conf
相关文章推荐
- logstash启动报配置文件错误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
- android retrofit End of input at line 1 column 1 path
- arse Error at line 58 column 17: The content of element type "struts-config" must match "(display-na
- Lexical error at line 15, column 17. Encountered: "\uff0c" (65292), after : ""
- org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 0.
- Parse Fatal Error at line 41 column 24: 元素类型 "url-pattern" 必须由匹配的结束标记 "</url-pattern>" 终止
- 出现严重: Parse Fatal Error at line 147 column 125: 元素类型 "Resource" 必须后跟属性规范 ">的原因" 或 "/>"。
- 严重: Parse Fatal Error at line 154 column 33: Invalid byte 2 of 2-byte UTF-8 sequence.
- org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 0.
- org.apache.lucene.queryparser.classic.ParseException: Encountered "<EOF>" at line 1, column 0.
- EL標簽錯誤: javax.servlet.jsp.el.ELException: Encountered "/", expected one of ["}", ".", ">", "gt", "=", "ge", "!=", "ne", "[",
- Qt5:"Designer: An error has occurred while reading the UI file at line 1, column 0: Premature end of document."错误
- android retrofit End of input at line 1 column 1 path
- Parse Fatal Error at line 41 column 24: 元素类型 "url-pattern" 必须由匹配的结束标记 "</url-pattern>" 终止
- org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 0.
- "Interface1.java": 'class' or 'interface' expected at line 19, column 17
- error: At end of source: #67: expected a "}"
- Jforum中搜索错误:jforum Cannot parse '': Encountered "EOF" at line 1, column 0.
- <form action="get.php" method="post" id="tform"> <input type="text" name="one"> <a href="jav