# Change character encoding in Logstash

**URL:** <https://discuss.elastic.co/t/change-character-encoding-in-logstash/153806>\
**Category:** Logstash\
**Created:** [October 24, 2018, 1:12pm UTC](https://discuss.elastic.co/t/change-character-encoding-in-logstash/153806 "2018-10-24T13:12:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 25, 2018, 7:19am UTC](https://discuss.elastic.co/t/change-character-encoding-in-logstash/153806/2 "2018-10-25T07:19:08Z")

</div>

hello varun,  
for what purpose do you need to change the character encoding,

check below code to load csv file,

> [@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/change-character-encoding-in-logstash/153806)._
