Logstash with error of read_to_eof

Hi,

When I run logstash 6.4.1, there are lots of follow error logs.

[ERROR][filewatch.tailmode.handlers.grow] read_to_eof: general error reading /home/11thone/caselog/logmonster/CAS-HUNAN-TEST/MME01/MMDU0/SubsHandlerSnapshot7.log {"error"=>"#<SystemCallError: Unknown error (SystemCallError) - /home/11thone/caselog/logmonster/CAS-HUNAN-TEST/MME01/MMDU0/SubsHandlerSnapshot7.log>", "backtrace"=>["org/jruby/RubyIO.java:2958:in sysread'", "/home/11thone/elk/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.6/lib/filewatch/watched_file.rb:224:infile_read'", "/home/11thone/elk/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.6/lib/filewatch/watched_file.rb:236:in read_extract_lines'", "/home/11thone/elk/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.6/lib/filewatch/tail_mode/handlers/base.rb:52:inblock in controlled_read'"]}

is there some config error in my logstash or system. or just the grok error?

Hello
Logstash with error of read_to_eof
I am too facing the same error. Have you debugged it?

[2018-10-05T15:26:40,498][ERROR][filewatch.tailmode.handlers.grow] read_to_eof: general error reading /home/aptus1/sbds/testData/carsFolder/cars_00000.tar.gz {"error"=>"java.lang.IllegalArgumentException: Object: \u001F\u008B\b\u0000X\u0012·[\u0000\u0003íÒ½Nã@\u0010\ap×\u0091ò\u000Eû\u0000£½\u009DÙ/»§ ¡\u0001\u0089£C\u009BÄ is not a legal argument to this wrapper, cause it doesn't respond to "read".", "backtrace"=>["org.jruby.util.IOInputStream.(IOInputStream.java:64)", "org.jruby.ext.zlib.JZlibRubyGzipReader.initialize(JZlibRubyGzipReader.java:115)", "org.jruby.ext.zlib.JZlibRubyGzipReader.initialize19(JZlibRubyGzipReader.java:145)", "org.jruby.ext.zlib.JZlibRubyGzipReader$INVOKER$i$0$1$initialize19.call(JZlibRubyGzipReader$INVOKER$i$0$1$initialize19.gen)"]}

Thanks

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