Problem with logstash-input-file plugin

Hello !

Since the update of input-file plugin to version 4.1.5 when I start logstash I obtain this error :

[2018-07-25T15:04:51,634][INFO ][filewatch.observingtail ] START, creating Disc
overer, Watch with file and sincedb collections
[2018-07-25T15:04:51,646][ERROR][logstash.pipeline ] A plugin had an unre
coverable error. Will restart this plugin.
Pipeline_id:main
Plugin: <LogStash::Inputs::File path=>["C:\Users\GAUTSCPI\Documents\Elasti
cSearch\Logs\SVI/*"], start_position=>"beginning", sincedb_path=>"/dev/null",
tags=>["SVI"], codec=><LogStash::Codecs::Plain charset=>"ISO-8859-1", id=>"c6ce8
40b-07ca-4f84-9687-5d500cd48098", enable_metric=>true>, id=>"9efcf2562096aaa6efd
96a68c18d52ad42e8db3a24d2e152ce1d4a0fa48e6d67", enable_metric=>true, stat_interv
al=>1.0, discover_interval=>15, sincedb_write_interval=>15.0, delimiter=>"\n", c
lose_older=>3600.0, mode=>"tail", file_completed_action=>"delete", sincedb_clean
after=>1209600.0, file_chunk_size=>32768, file_chunk_count=>140737488355327, fi
le_sort_by=>"last_modified", file_sort_direction=>"asc">
Error: No such file or directory - C:/dev/null
Exception: Errno::ENOENT
Stack: org/jruby/RubyFile.java:366:in initialize' org/jruby/RubyIO.java:1154:inopen'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1167:in block in touch' org/jruby/RubyArray.java:1734:ineach'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1161:in touch ' C:/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/f ilewatch/sincedb_collection.rb:22:ininitialize'
C:/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/f
ilewatch/observing_base.rb:62:in build_watch_and_dependencies' C:/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/f ilewatch/observing_base.rb:56:ininitialize'
C:/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/l
ogstash/inputs/file.rb:332:in start_processing' C:/logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/l ogstash/inputs/file.rb:337:inrun'
C:/logstash-6.3.0/logstash-core/lib/logstash/pipeline.rb:512:in inputworker' C:/logstash-6.3.0/logstash-core/lib/logstash/pipeline.rb:505:inblock in start

input'

This error is printed again and again !

I tried with logstash 6.3.2 and the problem is the same

On windows use "NUL", not "/dev/null".

Thank you it works

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