Caused by: java.lang.NumberFormatException: For input string: "b4"


(shaonbean) #1

elk 5.4 +filebeat

I use filebeat template and office nginx examples gather nginx log, begin is good, but when run sometimes it's will error like this:

Caused by: java.lang.NumberFormatException: For input string: "b4"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_131]
at java.lang.Long.parseLong(Long.java:589) ~[?:1.8.0_131]
at java.lang.Long.parseLong(Long.java:631) ~[?:1.8.0_131]
at org.elasticsearch.common.xcontent.support.AbstractXContentParser.longValue(AbstractXContentParser.java:172) ~[elasticsearch-5.4.0.jar:5.4.0]
at org.elasticsearch.index.mapper.NumberFieldMapper$NumberType$7.parse(NumberFieldMapper.java:740) ~[elasticsearch-5.4.0.jar:5.4.0]
at org.elasticsearch.index.mapper.NumberFieldMapper$NumberType$7.parse(NumberFieldMapper.java:719) ~[elasticsearch-5.4.0.jar:5.4.0]
at org.elasticsearch.index.mapper.NumberFieldMapper.parseCreateField(NumberFieldMapper.java:1058) ~[elasticsearch-5.4.0.jar:5.4.0]
at org.elasticsearch.index.mapper.FieldMapper.parse(FieldMapper.java:287) ~[elasticsearch-5.4.0.jar:5.4.0]
... 48 more


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.