# How can send large json file (62.5 GO) to elasticsearch using Api?

**URL:** <https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111>\
**Category:** Elasticsearch\
**Created:** [June 16, 2021, 9:43am UTC](https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111 "2021-06-16T09:43:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hana\_sk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hana_sk/32/78007_2.png) [@hana\_sk](https://discuss.elastic.co/u/hana_sk)\
**Post date:** [June 16, 2021, 9:43am UTC](https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111/1 "2021-06-16T09:43:41Z")

</div>

i'm stuck. how can send large json file (62.5 GO) to elasticsearch using Api?

---

<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:** [June 16, 2021, 9:56am UTC](https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111/2 "2021-06-16T09:56:06Z")

</div>

Welcome!

I guess it's not one single document of 62gb.  
You need to split it in smaller parts.

---

<div class="post-metadata">

**Author:** ![hana\_sk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hana_sk/32/78007_2.png) [@hana\_sk](https://discuss.elastic.co/u/hana_sk)\
**Post date:** [June 16, 2021, 10:00am UTC](https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111/3 "2021-06-16T10:00:17Z")

</div>

hello! while searching i found out that there two possibilities : either use bulk API or logstash . i'm trying to send my json file to logstash first , do i need to split it ?

---

<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:** [June 17, 2021, 1:15am UTC](https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111/4 "2021-06-17T01:15:09Z")

</div>

Logstash will handle splitting things into bulk requests to Elasticsearch.

---

<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:** [July 15, 2021, 1:15am UTC](https://discuss.elastic.co/t/how-can-send-large-json-file-62-5-go-to-elasticsearch-using-api/276111/5 "2021-07-15T01:15:28Z")

</div>

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