# Problem with logstash-input-file plugin

**URL:** <https://discuss.elastic.co/t/problem-with-logstash-input-file-plugin/141579>\
**Category:** Logstash\
**Created:** [July 25, 2018, 1:11pm UTC](https://discuss.elastic.co/t/problem-with-logstash-input-file-plugin/141579 "2018-07-25T13:11:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre2](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@Pierre2](https://discuss.elastic.co/u/Pierre2)\
**Post date:** [July 25, 2018, 1:11pm UTC](https://discuss.elastic.co/t/problem-with-logstash-input-file-plugin/141579/1 "2018-07-25T13:11:38Z")

</div>

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:in `open'  
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1167:in `block in touch' org/jruby/RubyArray.java:1734:in `each'  
> 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:in `initialize'  
> 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:in `initialize'  
> 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:in `run'  
> 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:in `block in start_  
> input'

This error is printed again and again !

I tried with logstash 6.3.2 and the problem is the same

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 25, 2018, 2:58pm UTC](https://discuss.elastic.co/t/problem-with-logstash-input-file-plugin/141579/2 "2018-07-25T14:58:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Pierre2](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@Pierre2](https://discuss.elastic.co/u/Pierre2)\
**Post date:** [July 26, 2018, 6:59am UTC](https://discuss.elastic.co/t/problem-with-logstash-input-file-plugin/141579/3 "2018-07-26T06:59:56Z")

</div>

Thank you it works

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 23, 2018, 7:00am UTC](https://discuss.elastic.co/t/problem-with-logstash-input-file-plugin/141579/4 "2018-08-23T07:00:10Z")

</div>

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