# Http Poller Looping

**URL:** <https://discuss.elastic.co/t/http-poller-looping/140273>\
**Category:** Logstash\
**Created:** [July 17, 2018, 7:56am UTC](https://discuss.elastic.co/t/http-poller-looping/140273 "2018-07-17T07:56:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HITI\_SINHA](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@HITI\_SINHA](https://discuss.elastic.co/u/HITI_SINHA)\
**Post date:** [July 17, 2018, 7:56am UTC](https://discuss.elastic.co/t/http-poller-looping/140273/1 "2018-07-17T07:56:55Z")

</div>

Using an "Http Poller Plugin" in Logstash, how can we loop over it for multiple APIs. Basically, If I have to use http poller for say, 50 request objects hitting same API endpoint, what could be a smarter way than writing it repeatedly?

Please Suggest.

---

<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:** [August 14, 2018, 7:57am UTC](https://discuss.elastic.co/t/http-poller-looping/140273/2 "2018-08-14T07:57:09Z")

</div>

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