# Block in Start\_input

**URL:** <https://discuss.elastic.co/t/block-in-start-input/166474>\
**Category:** Logstash\
**Created:** [January 31, 2019, 6:18am UTC](https://discuss.elastic.co/t/block-in-start-input/166474 "2019-01-31T06:18:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fiery\_george](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fiery_george/32/47886_2.png) [@fiery\_george](https://discuss.elastic.co/u/fiery_george)\
**Post date:** [January 31, 2019, 6:18am UTC](https://discuss.elastic.co/t/block-in-start-input/166474/1 "2019-01-31T06:18:08Z")

</div>

I am getting the following error:  
S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp  
ut-file-4.1.9/lib/filewatch/observing\_base.rb:62:in `build_watch_and_dependencie s' S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp ut-file-4.1.9/lib/filewatch/observing_base.rb:56:in `initialize'  
S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp  
ut-file-4.1.9/lib/logstash/inputs/file.rb:332:in `start_processing' S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp ut-file-4.1.9/lib/logstash/inputs/file.rb:337:in `run'  
S:/ELK/logstash-6.6.0/logstash-6.6.0/logstash-core/lib/logstash/pipeline.rb:409:  
in `inputworker' S:/ELK/logstash-6.6.0/logstash-6.6.0/logstash-core/lib/logstash/pipeline.rb:403: in `block in start\_input'  
[2019-01-30T22:16:59,338][WARN][logstash.runner] SIGINT received. Shu  
tting down.  
[2019-01-30T22:16:59,479][INFO][filewatch.observingtail] START, creating Disc  
overer, Watch with file and sincedb collections  
[2019-01-30T22:16:59,479][ERROR][logstash.pipeline] A plugin had an unre  
coverable error. Will restart this plugin.  
Pipeline\_id:main  
Plugin: \<LogStash::Inputs::File start\_position=\>"beginning", path=\>["S:\ELK\  
data\studymig.csv"], id=\>"95feb22b93adbfd983268e507d97aca7fa72ecbb0e99e49412e54  
873ac5163dd", sincedb\_path=\>"\dev\null", enable\_metric=\>true, codec=\>\<LogStash  
::Codecs::Plain id=\>"plain\_4d669fa9-f123-4d82-9487-881f6f94f6f5", enable\_metric=

> true, charset=\>"UTF-8"\>, stat\_interval=\>1.0, discover\_interval=\>15, sincedb\_wri  
> te\_interval=\>15.0, delimiter=\>"\n", close\_older=\>3600.0, mode=\>"tail", file\_comp  
> leted\_action=\>"delete", sincedb\_clean\_after=\>1209600.0, file\_chunk\_size=\>32768,  
> file\_chunk\_count=\>140737488355327, file\_sort\_by=\>"last\_modified", file\_sort\_dire  
> ction=\>"asc"\>  
> Error: No such file or directory - S:\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 ' S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp ut-file-4.1.9/lib/filewatch/sincedb_collection.rb:22:in `initialize'  
> S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp  
> ut-file-4.1.9/lib/filewatch/observing\_base.rb:62:in `build_watch_and_dependencie s' S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp ut-file-4.1.9/lib/filewatch/observing_base.rb:56:in `initialize'  
> S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp  
> ut-file-4.1.9/lib/logstash/inputs/file.rb:332:in `start_processing' S:/ELK/logstash-6.6.0/logstash-6.6.0/vendor/bundle/jruby/2.3.0/gems/logstash-inp ut-file-4.1.9/lib/logstash/inputs/file.rb:337:in `run'  
> S:/ELK/logstash-6.6.0/logstash-6.6.0/logstash-core/lib/logstash/pipeline.rb:409:  
> in `inputworker' S:/ELK/logstash-6.6.0/logstash-6.6.0/logstash-core/lib/logstash/pipeline.rb:403: in `block in start\_input'

The conf file is below:

input{

file{  
path =\>"S:\ELK\data\studymig.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "\dev\null"  
}

```
}

```

filter {  
csv {  
separator =\>","  
columns =\>["a","b","c","d","e"]  
}

}  
output {  
elasticsearch {  
hosts=\>"localhost"  
index =\>"studymig"  
document\_type =\>"study\_status"  
}  
stdout {  
codec =\> rubydebug  
}  
}

---

<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:** [January 31, 2019, 1:06pm UTC](https://discuss.elastic.co/t/block-in-start-input/166474/2 "2019-01-31T13:06:13Z")

</div>

If you are running on Windows and you want to suppress the use of a persistent sincedb then set

```
sincedb_path => "NUL"

```

not /dev/null.

---

<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:** [February 28, 2019, 1:06pm UTC](https://discuss.elastic.co/t/block-in-start-input/166474/3 "2019-02-28T13:06:16Z")

</div>

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