# Elastic REST API calls?

**URL:** <https://discuss.elastic.co/t/elastic-rest-api-calls/80200>\
**Category:** Logstash\
**Created:** [March 27, 2017, 7:54pm UTC](https://discuss.elastic.co/t/elastic-rest-api-calls/80200 "2017-03-27T19:54:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcannell](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@jcannell](https://discuss.elastic.co/u/jcannell)\
**Post date:** [March 27, 2017, 7:54pm UTC](https://discuss.elastic.co/t/elastic-rest-api-calls/80200/1 "2017-03-27T19:54:50Z")

</div>

Hello!

I'm looking for an Elastic solution that can:

1. Periodically send a web request to a REST API
2. Receive the JSON response and
3. Send it to logstash for processing

Is there something offered in Elastic that can do this? I was looking at Packetbeat but this seems like it could not do what I'm looking for. I also noticed the websocket input plugin for logstash that looked a little more promising. I'm still fairly new to Elastic so I want to make sure I'm using the best option if one is available.

Thank you!

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [March 27, 2017, 9:32pm UTC](https://discuss.elastic.co/t/elastic-rest-api-calls/80200/2 "2017-03-27T21:32:06Z")

</div>

You probably want the logstash [http poller input.](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http_poller.html)

---

<div class="post-metadata">

**Author:** ![jcannell](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@jcannell](https://discuss.elastic.co/u/jcannell)\
**Post date:** [March 30, 2017, 1:32pm UTC](https://discuss.elastic.co/t/elastic-rest-api-calls/80200/3 "2017-03-30T13:32:13Z")

</div>

I will give it a shot, thank you

---

<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:** [April 27, 2017, 1:32pm UTC](https://discuss.elastic.co/t/elastic-rest-api-calls/80200/4 "2017-04-27T13:32:14Z")

</div>

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