# Logstash CSV output to Kibana

**URL:** <https://discuss.elastic.co/t/logstash-csv-output-to-kibana/103566>\
**Category:** Logstash\
**Created:** [October 11, 2017, 2:20pm UTC](https://discuss.elastic.co/t/logstash-csv-output-to-kibana/103566 "2017-10-11T14:20:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobwilly](https://avatars.discourse-cdn.com/v4/letter/b/b19c9b/32.png) [@bobwilly](https://discuss.elastic.co/u/bobwilly)\
**Post date:** [October 11, 2017, 2:20pm UTC](https://discuss.elastic.co/t/logstash-csv-output-to-kibana/103566/1 "2017-10-11T14:20:54Z")

</div>

im trying to get my .CSV file in Kibana for visualisation. It feels like Im close to get it work but I can`t figer out how to get my output right.

In Kibana I see my .csv file as:  
`message: News,test@email.com,10.10.10.10`  
It looks like my CSV ouput is in 1 field called message. I would like to get 3 different fields: Name,Email,IP. I have tryed a lot of csv files and different codes but no succes yet.

CSV FILE:  
Name,Email,IP  
Auto,auto@newsuk,10.0.0.196  
[News,test@email.com](mailto:News,test@email.com),10.10.10.10  
ieuwsbrieven,nieuwsbrieven@nl,10.10.10.10

CONF file:  
input {  
file {  
path =\> "C:\Users\JOEY2\Desktop\Deelproblemen\Applicatie\Output\test.csv"  
start\_position =\> beginning  
sincedb\_path =\> "/dev/null"  
}}

```
filter {
    csv {
        separator => ","
        columns => ["Date","Open","High"]
  }
}
output {
    elasticsearch {
        hosts => ["http://localhost:9200"]
        index => "csv_index"
    }
stdout {}
}

```

filebeat.yml  
filebeat.prospectors:  
- input\_type: log  
paths:  
- C:\Users\JOEY2\Desktop\Deelproblemen\Applicatie\Output\test.csv

```
output.elasticsearch:
  hosts: ["localhost:9200"]
  template.name: "testttt"
  template.overwrite: true

output.logstash:
hosts: ["localhost:5044"]

```

Thanks for your time.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 17, 2017, 6:58pm UTC](https://discuss.elastic.co/t/logstash-csv-output-to-kibana/103566/2 "2017-10-17T18:58:04Z")

</div>

Your configuration looks correct. Are you sure you're looking at up to date data in Elasticsearch? I suggest you comment out your elasticsearch output use only use a `stdout { codec => rubydebug }` output until you know the data is processed correctly.

---

<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:** [November 14, 2017, 6:58pm UTC](https://discuss.elastic.co/t/logstash-csv-output-to-kibana/103566/3 "2017-11-14T18:58:39Z")

</div>

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