# How dump/ingest nested API json data to elastic search

**URL:** <https://discuss.elastic.co/t/how-dump-ingest-nested-api-json-data-to-elastic-search/308221>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 27, 2022, 9:03am UTC](https://discuss.elastic.co/t/how-dump-ingest-nested-api-json-data-to-elastic-search/308221 "2022-06-27T09:03:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![azizullah2017](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azizullah2017/32/105046_2.png) [@azizullah2017](https://discuss.elastic.co/u/azizullah2017)\
**Post date:** [June 27, 2022, 9:03am UTC](https://discuss.elastic.co/t/how-dump-ingest-nested-api-json-data-to-elastic-search/308221/1 "2022-06-27T09:03:33Z")

</div>

looking for help for large scale API calls of http like hundres if api call, trying to automate them with cron job.

I am looking for solution where I can get data from different nested REST API and dump them on Elasticsearch on large scale, there are hundreds of APIs.

Example:  
api1, api2, api3

API one response would be used in API2 and API2 response would be used in API2 and it would be continuous call of http.

API1 -\> return {"search\_id":"124zs34"}

API2{"search\_id":"124zs34"} -\> return {"username":"aziz"}

API3{"username":"aziz"} -\> return {"user\_info":"aziz","age":22}

---

<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 25, 2022, 11:04am UTC](https://discuss.elastic.co/t/how-dump-ingest-nested-api-json-data-to-elastic-search/308221/2 "2022-07-25T11:04:10Z")

</div>

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