# Optimum and fastest way to push large XML to ElasticSearch

**URL:** <https://discuss.elastic.co/t/optimum-and-fastest-way-to-push-large-xml-to-elasticsearch/86731>\
**Category:** Elasticsearch\
**Created:** [May 22, 2017, 7:45pm UTC](https://discuss.elastic.co/t/optimum-and-fastest-way-to-push-large-xml-to-elasticsearch/86731 "2017-05-22T19:45:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmart](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@bmart](https://discuss.elastic.co/u/bmart)\
**Post date:** [May 22, 2017, 7:45pm UTC](https://discuss.elastic.co/t/optimum-and-fastest-way-to-push-large-xml-to-elasticsearch/86731/1 "2017-05-22T19:45:38Z")

</div>

I have a 10GB xml file containing product information. For every product I generated 1 json file. Right now the file count is about 600,000. How do I push them to ES in the most optimum way and the fastest? Do I need to use JEST for this. I'm really new to this so any help is much appreciated.

---

<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:** [May 23, 2017, 10:39am UTC](https://discuss.elastic.co/t/optimum-and-fastest-way-to-push-large-xml-to-elasticsearch/86731/2 "2017-05-23T10:39:06Z")

</div>

If you have a directory containing tons of json files, you can try FSCrawler project which has an option for that need.

HTH

---

<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:** [June 20, 2017, 10:39am UTC](https://discuss.elastic.co/t/optimum-and-fastest-way-to-push-large-xml-to-elasticsearch/86731/3 "2017-06-20T10:39:43Z")

</div>

Closed on June 20, 2017, 10:39am UTC

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