# Batching HTTP output

**URL:** https://discuss.elastic.co/t/batching-http-output/24370
**Category:** Logstash
**Created:** [June 25, 2015, 7:25pm UTC](https://discuss.elastic.co/t/batching-http-output/24370 "2015-06-25T19:25:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cfili](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@cfili](https://discuss.elastic.co/u/cfili)
#### Post date: [June 25, 2015, 7:25pm UTC](https://discuss.elastic.co/t/batching-http-output/24370/1 "2015-06-25T19:25:06Z")

</div>

Is there a way to batch events on a set interval using the HTTP output plugin? I want to limit the rate at which the Logstash agent is sending messages to my HTTP end point. Ideally, I'd want it to batch all events into one JSON message that is sent back to the HTTP end point on a set time interval. Any help is appreciated, thanks.

---

<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 26, 2015, 11:24pm UTC](https://discuss.elastic.co/t/batching-http-output/24370/2 "2015-06-26T23:24:56Z")

</div>

Doesn't look like when reading [the docs](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-http.html).

---

<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 6, 2017, 5:36am UTC](https://discuss.elastic.co/t/batching-http-output/24370/3 "2017-07-06T05:36:19Z")

</div>


