# Import CVS to Kibana using filebeat

**URL:** <https://discuss.elastic.co/t/import-cvs-to-kibana-using-filebeat/166686>\
**Category:** Elasticsearch\
**Created:** [February 1, 2019, 7:34am UTC](https://discuss.elastic.co/t/import-cvs-to-kibana-using-filebeat/166686 "2019-02-01T07:34:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergejs\_Kuznecovs](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sergejs\_Kuznecovs](https://discuss.elastic.co/u/Sergejs_Kuznecovs)\
**Post date:** [February 1, 2019, 7:34am UTC](https://discuss.elastic.co/t/import-cvs-to-kibana-using-filebeat/166686/1 "2019-02-01T07:34:14Z")

</div>

Hello!  
I'm a beginner in this theme. Maybe someone can help me. I need to import csv file to kibana, to build some graph using filebeat.

I did filebeat conf like that:  
filebeat.prospectors:

- type: log  
enabled: true  
paths:
  - C:\filea.csv  
filebeat.config.modules:  
path: ${path.config}/modules.d/_.yml  
reload.enabled: false  
setup.template.settings:  
index.number\_of\_shards: 1  
setup.template:  
name: 'filea'  
pattern: 'filea-_'  
enabled: true  
output.elasticsearch:  
hosts: ["localhost:9200"]  
index: "filea"

Data imported to Kibana, but all my strings from csv file looks like this

 ![IMG_0779](https://us1.discourse-cdn.com/elastic/original/3X/6/3/633d7370857cda720b4f2fcb6d4624494a0c00ca.jpeg)

Can someone write me a code please to separate this message to 5 columns? Or maybe I can do this while import with some filter or something like this. Can someone give me a reason please?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 1, 2019, 8:51am UTC](https://discuss.elastic.co/t/import-cvs-to-kibana-using-filebeat/166686/2 "2019-02-01T08:51:35Z")

</div>

I wrote something like this here: [http://david.pilato.fr/blog/2017/01/09/4-years-at-elastic/](http://david.pilato.fr/blog/2017/01/09/4-years-at-elastic/)

Note that I was using a Grok processor which can be a bit slow.  
I'd encourage using:

> **[johtani/elasticsearch-ingest-csv](https://github.com/johtani/elasticsearch-ingest-csv)**
>
> Ingest CSV processor parses CSV data and stores it as individual fields - johtani/elasticsearch-ingest-csv

Note that in Elasticsearch 6.6 there is now a CSV importer in Kibana.

---

<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:** [March 1, 2019, 8:51am UTC](https://discuss.elastic.co/t/import-cvs-to-kibana-using-filebeat/166686/3 "2019-03-01T08:51:38Z")

</div>

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