# File input plugin does not work

**URL:** https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528
**Category:** Logstash
**Created:** [January 19, 2016, 10:11am UTC](https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528 "2016-01-19T10:11:47Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![punit\_naik1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/punit_naik1/32/7239_2.png) [@punit\_naik1](https://discuss.elastic.co/u/punit_naik1)
#### Post date: [January 19, 2016, 10:11am UTC](https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528/1 "2016-01-19T10:11:47Z")

</div>

I am using logstash-2.1.1

This is my config file:

> input {  
> file {  
> start\_position =\> "beginning"  
> path =\> "/home/punit/Desktop/1.log"  
> }  
> }  
> output {  
> stdout {codec =\> rubydebug}  
> }

And when I run logstash using this configuration it gives me the following output:

> Settings: Default filter workers: 2  
> Logstash startup completed  
> Logstash shutdown completed

What is wrong? Can anyone please help?

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [January 19, 2016, 10:15am UTC](https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528/2 "2016-01-19T10:15:26Z")

</div>

Logstash is waiting for more data to be added to the end of 1.log. To reset the Logstash's memory of the current position in 1.log, shut down Logstash, delete the sincedb file, and start it up again. See the file input's documentation for details about sincedb files and where they're located.

---

<div class="post-metadata">

### Author: ![punit\_naik1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/punit_naik1/32/7239_2.png) [@punit\_naik1](https://discuss.elastic.co/u/punit_naik1)
#### Post date: [January 19, 2016, 10:22am UTC](https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528/3 "2016-01-19T10:22:48Z")

</div>

Thanks a lot @magnusbaeck 🙂 I will certainly look it up 👍

---

<div class="post-metadata">

### Author: ![punit\_naik1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/punit_naik1/32/7239_2.png) [@punit\_naik1](https://discuss.elastic.co/u/punit_naik1)
#### Post date: [January 19, 2016, 11:15am UTC](https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528/4 "2016-01-19T11:15:46Z")

</div>

@magnusbaeck I deleted the sincedb files and started logstash again but not luck.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [January 20, 2016, 6:40pm UTC](https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528/5 "2016-01-20T18:40:51Z")

</div>

Increase the logging verbosity by starting Logstash with `--verbose` to get additional clues.

---

<div class="post-metadata">

### Author: ![punit\_naik1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/punit_naik1/32/7239_2.png) [@punit\_naik1](https://discuss.elastic.co/u/punit_naik1)
#### Post date: [January 21, 2016, 6:27am UTC](https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528/6 "2016-01-21T06:27:44Z")

</div>

Thanks for the reply @magnusbaeck. I sort of fixed the problem though. I know this sounds a bit wierd but I was using the normal tarball of [logstash](https://download.elastic.co/logstash/logstash/logstash-2.1.1.tar.gz) and it wasn't working. It was not generating the sincedb files and also the "grok" filter wasn't working. So I downloaded the "all plugins" [logstash](https://download.elastic.co/logstash/logstash/logstash-all-plugins-2.1.0.tar.gz) tarball and everything works just fine now. I think the normal [logstash](https://download.elastic.co/logstash/logstash/logstash-2.1.1.tar.gz) tarball has bugs. Please fix those if any 🙂

---

<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: [July 6, 2017, 5:14am UTC](https://discuss.elastic.co/t/file-input-plugin-does-not-work/39528/7 "2017-07-06T05:14:46Z")

</div>


