# Logstash File input plugin not working Windows 10

**URL:** <https://discuss.elastic.co/t/logstash-file-input-plugin-not-working-windows-10/208312>\
**Category:** Logstash\
**Created:** [November 18, 2019, 12:27pm UTC](https://discuss.elastic.co/t/logstash-file-input-plugin-not-working-windows-10/208312 "2019-11-18T12:27:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sudheesh\_P](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sudheesh_p/32/57866_2.png) [@Sudheesh\_P](https://discuss.elastic.co/u/Sudheesh_P)\
**Post date:** [November 18, 2019, 12:27pm UTC](https://discuss.elastic.co/t/logstash-file-input-plugin-not-working-windows-10/208312/1 "2019-11-18T12:27:05Z")

</div>

Hi,

I am using Logstash File input plugin for debugging purposes. Currently I migrated to latest Logstash version 7.4.2. But the existing logstash configuration unable to read file from the disk. I am using Windows 10. My configuration input section is as follows.

```
input {
  file {
    path => ["C:\Users\PSUDHEE\Desktop\Elastic_Stack_7.4.1\logstash-7.4.1\LogData\sample.log"]
    start_position => "beginning"
   sincedb_path => "NUL"
  }
}

```

I have tried the configuration without sincedb\_path configuration also, but no change. The same configuration is worked with Logstash 6.4.2 and 6.6.0 perfectly. I also tried with adding data to the sample.log file. nothing happened.

---

<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:** [November 18, 2019, 2:27pm UTC](https://discuss.elastic.co/t/logstash-file-input-plugin-not-working-windows-10/208312/2 "2019-11-18T14:27:14Z")

</div>

Do not use backslash in the path option of a file input, use forward slash.

---

<div class="post-metadata">

**Author:** ![Sudheesh\_P](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sudheesh_p/32/57866_2.png) [@Sudheesh\_P](https://discuss.elastic.co/u/Sudheesh_P)\
**Post date:** [November 19, 2019, 3:39am UTC](https://discuss.elastic.co/t/logstash-file-input-plugin-not-working-windows-10/208312/3 "2019-11-19T03:39:25Z")

</div>

Thanks @Badger, its working now.

---

<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:** [December 17, 2019, 3:39am UTC](https://discuss.elastic.co/t/logstash-file-input-plugin-not-working-windows-10/208312/4 "2019-12-17T03:39:35Z")

</div>

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