Logstash.inputs.udp - EOFError: End of file reached


(Daniel) #1

HI,

I"m getting this error after 30 minutes or so, udp port is open but nothing gets indexed until I restart logstash

load looks to only be 100 events a second

app versions

elasticsearch    5.1.1   all
kibana   5.1.1   amd64
logstash         1:5.1.1-1       all

config

input {
        udp {
                port => 6343
                codec => sflow {}
        }
}


output {
        elasticsearch {
                hosts => ["172.16.0.46:9200"]
        }
}

error message received

03:22:59.822 [<udp.2] ERROR logstash.inputs.udp - Exception in inputworker {"exception"=>#<EOFError: End of file reached>, "backtrace"=>["/usr/share/logstash/vendo
r/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/io.rb:333:in `accumulate_big_endian_bits'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/b
indata/io.rb:321:in `read_big_endian_bits'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/io.rb:299:in `readbits'", "(eval):30:in `r
ead_and_return_value'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/base_primitive.rb:127:in `do_read'", "/usr/share/logstash/vendo
r/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/struct.rb:138:in `do_read'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/vendor/bundle/jruby/
1.9/gems/bindata-2.3.4/lib/bindata/struct.rb:138:in `do_read'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/array.rb:328:in `do_rea
d'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/array.rb:328:in `do_read'", "/usr/share
/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/struct.rb:138:in `do_read'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/vendo
r/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/struct.rb:138:in `do_read'", "(eval):2:in `do_read'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2
.3.4/lib/bindata/struct.rb:138:in `do_read'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindat
a/struct.rb:138:in `do_read'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/array.rb:328:in `do_read'", "org/jruby/RubyArray.java:16
13:in `each'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/array.rb:328:in `do_read'", "/usr/share/logstash/vendor/bundle/jruby/1.9
/gems/bindata-2.3.4/lib/bindata/struct.rb:138:in `do_read'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2
.3.4/lib/bindata/struct.rb:138:in `do_read'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/base.rb:147:in `read'", "/usr/share/logst
ash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/base.rb:254:in `start_read'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindat
a/base.rb:145:in `read'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/bindata-2.3.4/lib/bindata/base.rb:21:in `read'", "/usr/share/logstash/vendor/bundle/jru
by/1.9/gems/logstash-codec-sflow-2.0.0/lib/logstash/codecs/sflow.rb:105:in `decode'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-udp-3.1.0/li
b/logstash/inputs/udp.rb:118:in `inputworker'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-udp-3.1.0/lib/logstash/inputs/udp.rb:89:in `udp_li
stener'"]}

Logstash sflow
(Daniel) #3

Anyone seen this error before ?


(system) #4

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