# How do i import stack of Excel/CSV sheets to Elasticsearch?

**URL:** <https://discuss.elastic.co/t/how-do-i-import-stack-of-excel-csv-sheets-to-elasticsearch/175693>\
**Category:** Elasticsearch\
**Created:** [April 7, 2019, 1:56am UTC](https://discuss.elastic.co/t/how-do-i-import-stack-of-excel-csv-sheets-to-elasticsearch/175693 "2019-04-07T01:56:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niranga\_Jayakody](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/niranga_jayakody/32/43603_2.png) [@Niranga\_Jayakody](https://discuss.elastic.co/u/Niranga_Jayakody)\
**Post date:** [April 7, 2019, 1:56am UTC](https://discuss.elastic.co/t/how-do-i-import-stack-of-excel-csv-sheets-to-elasticsearch/175693/1 "2019-04-07T01:56:08Z")

</div>

Im new to elasticsearch and i have **100's of excel/csv** sheets that need to be imported to elasticsearch.  
All of these files has a Primary column name as "Mobile Number" and other different attributes.

1. I need to import all of these files to Elastisearch
2. **after import i need to setup a searchh term including data of multiple files**

i have already setup elasticsearch , logstash & Kibana in my Macbook and still couldn't find a way to import multiple files.

---

<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:** [April 7, 2019, 6:28am UTC](https://discuss.elastic.co/t/how-do-i-import-stack-of-excel-csv-sheets-to-elasticsearch/175693/2 "2019-04-07T06:28:23Z")

</div>

Are they all the same format (columns)?

---

<div class="post-metadata">

**Author:** ![Niranga\_Jayakody](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/niranga_jayakody/32/43603_2.png) [@Niranga\_Jayakody](https://discuss.elastic.co/u/Niranga_Jayakody)\
**Post date:** [April 7, 2019, 7:42am UTC](https://discuss.elastic.co/t/how-do-i-import-stack-of-excel-csv-sheets-to-elasticsearch/175693/3 "2019-04-07T07:42:39Z")

</div>

not in same format, different files has different number of columns **BUT 1st column is same (Mobile number)**

---

<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:** [May 5, 2019, 7:43am UTC](https://discuss.elastic.co/t/how-do-i-import-stack-of-excel-csv-sheets-to-elasticsearch/175693/5 "2019-05-05T07:43:14Z")

</div>

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