# How to Upload CSV into kibana through logstash

**URL:** https://discuss.elastic.co/t/how-to-upload-csv-into-kibana-through-logstash/159237
**Category:** Elasticsearch
**Created:** [December 3, 2018, 8:00pm UTC](https://discuss.elastic.co/t/how-to-upload-csv-into-kibana-through-logstash/159237 "2018-12-03T20:00:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Fiddu1221](https://avatars.discourse-cdn.com/v4/letter/f/9de0a6/32.png) [@Fiddu1221](https://discuss.elastic.co/u/Fiddu1221)
#### Post date: [December 3, 2018, 8:00pm UTC](https://discuss.elastic.co/t/how-to-upload-csv-into-kibana-through-logstash/159237/1 "2018-12-03T20:00:09Z")

</div>

Hello ,

I am trying to upload my csv file from the location through logstash and want to display on kibana but I only see my localhost details instead of csv file details:- This is my logstash.conf file  
vi logstash.conf  
input {  
file {  
type =\> "csv"  
path =\> "/Network/rbialiappp013v/Linoma\_Files/Userdata/logs/SFTP/2018/11.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "/dev/null"  
}  
}  
filter {  
csv {  
separator =\> ","  
#Date,Open,High,Low,Close,Volume (BTC),Volume (Currency),Weighted Price  
columns =\> ["Date","Open","High","Low","Close","Volume (BTC)", "Volume (Currency)" ,"Weighted Price"]  
}  
}  
udp {  
port =\> 25826  
buffer\_size =\> 1452  
codec =\> collectd { }  
type =\> 'collectd'  
}  
output {  
if[type] == "csv"  
{  
elasticsearch {  
hosts =\> ["[http://localhost:9200](http://localhost:9200)"]  
index =\> 'csv\_index'  
}  
}  
}

Please find this file and let me know what needs to be fixed in this file so that I can see my csv file details on kibana.

---

<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, 10:45am UTC](https://discuss.elastic.co/t/how-to-upload-csv-into-kibana-through-logstash/159237/2 "2018-12-05T10:45:41Z")

</div>

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 } }

---

<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: [January 2, 2019, 10:59am UTC](https://discuss.elastic.co/t/how-to-upload-csv-into-kibana-through-logstash/159237/3 "2019-01-02T10:59:26Z")

</div>

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