# File input not working

**URL:** <https://discuss.elastic.co/t/file-input-not-working/159016>\
**Category:** Logstash\
**Created:** [December 1, 2018, 11:10pm UTC](https://discuss.elastic.co/t/file-input-not-working/159016 "2018-12-01T23:10:20Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)\
**Post date:** [December 5, 2018, 9:53am UTC](https://discuss.elastic.co/t/file-input-not-working/159016/7 "2018-12-05T09:53:31Z")

</div>

Hello,  
Make sure to change the path from  
path =\> "C:\logstash-6.4.2\files\*.csv"

to

path =\> "C:/logstash-6.4.2/files\*.csv"

Hope this helps you,

> [@Load csv file in logstash](https://discuss.elastic.co/t/load-csv-file-in-logstash/151319/3):
>
> Thanks for reply,hope this works fine, input { file { path =\> "D:/Balu/ELK-stack/csvfile.csv" start\_position =\> "beginning" sincedb\_path =\> "NUL" } } filter { csv { separator =\> "," columns =\> ["open","high","low","close","volume"] } } output { elasticsearch { hosts =\> "[http://localhost:9200](http://localhost:9200)" index =\> "wallet-address-index" } stdout { codec =\> rubydebug } }

---

_[View the full topic](https://discuss.elastic.co/t/file-input-not-working/159016)._
