# Sending data from CSV to Elasticsearch

**URL:** https://discuss.elastic.co/t/sending-data-from-csv-to-elasticsearch/92405
**Category:** Beats
**Tags:** filebeat
**Created:** [July 10, 2017, 2:13am UTC](https://discuss.elastic.co/t/sending-data-from-csv-to-elasticsearch/92405 "2017-07-10T02:13:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)
#### Post date: [July 10, 2017, 2:13am UTC](https://discuss.elastic.co/t/sending-data-from-csv-to-elasticsearch/92405/1 "2017-07-10T02:13:24Z")

</div>

I have several logs in my windows machine which must be send to my elasticsearch server.

Right now I am using nxlog and td-agent for transporting data.  
But I want to learn on Beats.

I already installed beats with default config.  
I also read in some other post that it is not possible on sending data from csv to elasticsearch thru beats. Is this true?

I really need suggestions on process flow and if I need to use logstash for this.

Thank you!

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 10, 2017, 3:08am UTC](https://discuss.elastic.co/t/sending-data-from-csv-to-elasticsearch/92405/2 "2017-07-10T03:08:01Z")

</div>

> [@jogoinar10](#):
>
> I also read in some other post that it is not possible on sending data from csv to elasticsearch thru beats. Is this true?

It is not true.

You don't need to use Logstash, you can use Elasticsearch and the ingest API - [Ingest Node | Elasticsearch Reference [5.5] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/ingest.html)

---

<div class="post-metadata">

### Author: ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)
#### Post date: [July 10, 2017, 3:09am UTC](https://discuss.elastic.co/t/sending-data-from-csv-to-elasticsearch/92405/3 "2017-07-10T03:09:59Z")

</div>

So I only need to use beats and elasticsearch with ingest API for sending data from csv?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 10, 2017, 3:10am UTC](https://discuss.elastic.co/t/sending-data-from-csv-to-elasticsearch/92405/4 "2017-07-10T03:10:28Z")

</div>

If you can process the CSV using the various filters in the ingest API, then yes!

---

<div class="post-metadata">

### Author: ![jogoinar10](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jogoinar10/32/20068_2.png) [@jogoinar10](https://discuss.elastic.co/u/jogoinar10)
#### Post date: [July 11, 2017, 2:24am UTC](https://discuss.elastic.co/t/sending-data-from-csv-to-elasticsearch/92405/5 "2017-07-11T02:24:55Z")

</div>

Alright, I'll try to use the ingest first. Thanks for the suggestion dude.

---

<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: [August 8, 2017, 2:24am UTC](https://discuss.elastic.co/t/sending-data-from-csv-to-elasticsearch/92405/6 "2017-08-08T02:24:58Z")

</div>

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