# Upload of multiple CSV files into same index

**URL:** <https://discuss.elastic.co/t/upload-of-multiple-csv-files-into-same-index/326156>\
**Category:** Elasticsearch\
**Created:** [February 22, 2023, 10:23am UTC](https://discuss.elastic.co/t/upload-of-multiple-csv-files-into-same-index/326156 "2023-02-22T10:23:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj4](https://avatars.discourse-cdn.com/v4/letter/r/b5a626/32.png) [@Raj4](https://discuss.elastic.co/u/Raj4)\
**Post date:** [February 22, 2023, 10:23am UTC](https://discuss.elastic.co/t/upload-of-multiple-csv-files-into-same-index/326156/1 "2023-02-22T10:23:04Z")

</div>

Hi,  
Please advise me on the below.  
I want to upload CSV file into the same index name on daily basis and need to create Kibana dashboard.

1. Is it possible for me to upload the CSV file directly into Elasticsearch automatically?
2. Or should I bring the data only via Logstash?

---

<div class="post-metadata">

**Author:** ![Wave](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wave/32/117242_2.png) [@Wave](https://discuss.elastic.co/u/Wave)\
**Post date:** [February 23, 2023, 6:36pm UTC](https://discuss.elastic.co/t/upload-of-multiple-csv-files-into-same-index/326156/2 "2023-02-23T18:36:35Z")

</div>

Hi @Raj4,

> [@Raj4](#):
>
> Is it possible for me to upload the CSV file directly into Elasticsearch automatically?

Yes, use the "Upload File" integration in Kibana (supports files up to 100MB by default), but note this is a manual process. You'll need to upload the file each day.

> [@Raj4](#):
>
> Or should I bring the data only via Logstash?

You definitely can use logstash and could set it up to parse the files automatically.

If you are looking to completely automate the process I'd go for number 2 as a solution. Depending upon your use case you could also use filebeat to send the data to the cluster and then use and ingest pipeline. Both work in a similar fashion.

---

<div class="post-metadata">

**Author:** ![Raj4](https://avatars.discourse-cdn.com/v4/letter/r/b5a626/32.png) [@Raj4](https://discuss.elastic.co/u/Raj4)\
**Post date:** [February 23, 2023, 8:53pm UTC](https://discuss.elastic.co/t/upload-of-multiple-csv-files-into-same-index/326156/3 "2023-02-23T20:53:38Z")

</div>

Great, thanks!

---

<div class="post-metadata">

**Author:** ![Wave](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wave/32/117242_2.png) [@Wave](https://discuss.elastic.co/u/Wave)\
**Post date:** [February 23, 2023, 9:51pm UTC](https://discuss.elastic.co/t/upload-of-multiple-csv-files-into-same-index/326156/4 "2023-02-23T21:51:57Z")

</div>

You're welcome.

---

<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:** [February 23, 2023, 10:07pm UTC](https://discuss.elastic.co/t/upload-of-multiple-csv-files-into-same-index/326156/5 "2023-02-23T22:07:07Z")

</div>

What sort of data is this?

---

<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 23, 2023, 10:07pm UTC](https://discuss.elastic.co/t/upload-of-multiple-csv-files-into-same-index/326156/6 "2023-03-23T22:07:19Z")

</div>

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