# Filebeat httpjson chained requests

**URL:** <https://discuss.elastic.co/t/filebeat-httpjson-chained-requests/296959>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 11, 2022, 10:17am UTC](https://discuss.elastic.co/t/filebeat-httpjson-chained-requests/296959 "2022-02-11T10:17:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![humartinez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/humartinez/32/46395_2.png) [@humartinez](https://discuss.elastic.co/u/humartinez)\
**Post date:** [February 11, 2022, 10:17am UTC](https://discuss.elastic.co/t/filebeat-httpjson-chained-requests/296959/1 "2022-02-11T10:17:23Z")

</div>

Hi is there a way to chain multiple httpjson requests? Let's say I need to do a first query to an endpoint to get a hosts lists, and then another one to another url constructed using the hosts that I got from the first query.  
If filebeat is not the tool, could be logstash, and how?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)\
**Post date:** [February 11, 2022, 9:56pm UTC](https://discuss.elastic.co/t/filebeat-httpjson-chained-requests/296959/2 "2022-02-11T21:56:55Z")

</div>

Its currently in the works, [https://github.com/elastic/beats/pull/29816](https://github.com/elastic/beats/pull/29816)

---

<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 11, 2022, 9:56pm UTC](https://discuss.elastic.co/t/filebeat-httpjson-chained-requests/296959/3 "2022-03-11T21:56:58Z")

</div>

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