# Configuring Input file on Windows

**URL:** <https://discuss.elastic.co/t/configuring-input-file-on-windows/33297>\
**Category:** Logstash\
**Created:** [October 29, 2015, 8:02pm UTC](https://discuss.elastic.co/t/configuring-input-file-on-windows/33297 "2015-10-29T20:02:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didier](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@Didier](https://discuss.elastic.co/u/Didier)\
**Post date:** [October 29, 2015, 8:02pm UTC](https://discuss.elastic.co/t/configuring-input-file-on-windows/33297/1 "2015-10-29T20:02:28Z")

</div>

Hello,

I am trying to use an input file to feed a log file into Logstash on a Windows 2008 machine. However, it doesn't seem to be working properly.

My configuration file looks like this:

input {  
file {  
path =\> ["C:/Users/Admin/Desktop/Logs\_elasticsearch/test\_10292015.txt"]  
start\_position =\> "beginning"  
}  
}

And I run logstash using: logstash.bat -f test.conf

I tried using different combinations of basckslashes as well.

Thanks for your assistance.

---

<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:** [October 30, 2015, 7:18am UTC](https://discuss.elastic.co/t/configuring-input-file-on-windows/33297/2 "2015-10-30T07:18:33Z")

</div>

Logstash is probably tailing the file and waiting for more input. If you want to make sure it's processed from the beginning, shut down Logstash, delete the sincedb files, then start again.

---

<div class="post-metadata">

**Author:** ![sree1](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sree1](https://discuss.elastic.co/u/sree1)\
**Post date:** [October 30, 2015, 10:07am UTC](https://discuss.elastic.co/t/configuring-input-file-on-windows/33297/3 "2015-10-30T10:07:21Z")

</div>

could you please tell me how to delete the sincedb files In logstash?

---

<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:** [October 30, 2015, 10:26am UTC](https://discuss.elastic.co/t/configuring-input-file-on-windows/33297/4 "2015-10-30T10:26:50Z")

</div>

The file input documentation will tell you the rules for where the sincedb files are created (unless you specify a path yourself). You can side-step that problem by picking a path yourself and setting it with `sincedb_path`.

---

<div class="post-metadata">

**Author:** ![Didier](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@Didier](https://discuss.elastic.co/u/Didier)\
**Post date:** [October 30, 2015, 7:13pm UTC](https://discuss.elastic.co/t/configuring-input-file-on-windows/33297/5 "2015-10-30T19:13:16Z")

</div>

Hi Magnus,

Would you have another solution? I shut down Logstash and restarted the application after deleting the files sincedb\*.

Howver, I experiend the same situattion,

Thanks for your collaboration

---

<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:** [October 30, 2015, 8:16pm UTC](https://discuss.elastic.co/t/configuring-input-file-on-windows/33297/6 "2015-10-30T20:16:07Z")

</div>

You can increase the level of logging by passing `--verbose` or even `--debug`. What output(s) do you have?

---

<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:24am UTC](https://discuss.elastic.co/t/configuring-input-file-on-windows/33297/7 "2017-07-06T05:24:46Z")

</div>


