# File input not working in Windows

**URL:** https://discuss.elastic.co/t/file-input-not-working-in-windows/27199
**Category:** Logstash
**Created:** [August 11, 2015, 3:52pm UTC](https://discuss.elastic.co/t/file-input-not-working-in-windows/27199 "2015-08-11T15:52:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DavidL](https://avatars.discourse-cdn.com/v4/letter/d/ecc23a/32.png) [@DavidL](https://discuss.elastic.co/u/DavidL)
#### Post date: [August 11, 2015, 3:52pm UTC](https://discuss.elastic.co/t/file-input-not-working-in-windows/27199/1 "2015-08-11T15:52:48Z")

</div>

So I know this has been a bug, but it seems still is one now

I first tested everything on Mac it works just fine. but on Windows, this doesn't work.

file{ path=\>"Users/Desktop/logs/\*.txt"}

it won't read in anything.

but if I specify a file within the directory like following, it reads

file{ path=\> "Users/Desktop/logs/log1.txt"}

Any work around? Thanks a lot!!

---

<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:32am UTC](https://discuss.elastic.co/t/file-input-not-working-in-windows/27199/2 "2017-07-06T05:32:19Z")

</div>


