# Load csv file in logstash

**URL:** <https://discuss.elastic.co/t/load-csv-file-in-logstash/151319>\
**Category:** Logstash\
**Created:** [October 6, 2018, 1:41pm UTC](https://discuss.elastic.co/t/load-csv-file-in-logstash/151319 "2018-10-06T13:41:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [October 8, 2018, 12:50pm UTC](https://discuss.elastic.co/t/load-csv-file-in-logstash/151319/3 "2018-10-08T12:50:17Z")

</div>

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/load-csv-file-in-logstash/151319)._
