# Logstash bulk request

**URL:** https://discuss.elastic.co/t/logstash-bulk-request/91049
**Category:** Logstash
**Created:** [June 28, 2017, 6:59am UTC](https://discuss.elastic.co/t/logstash-bulk-request/91049 "2017-06-28T06:59:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sharongur](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@sharongur](https://discuss.elastic.co/u/sharongur)
#### Post date: [June 28, 2017, 6:59am UTC](https://discuss.elastic.co/t/logstash-bulk-request/91049/1 "2017-06-28T06:59:50Z")

</div>

Hi,  
I understand that Logstash sends to ES bulk requests and manages it.

My question is, is there a way to send bulks TO Logstash?

At the moment im sending only single requests, which can turn to be thousands of requests that are slowing my program.  
I only recently moved to logstash, and i used to insert directly to Elasticsearch from my program through Bulk Processor, i was told logstash needs to get single requests only, is that true?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [June 28, 2017, 7:07am UTC](https://discuss.elastic.co/t/logstash-bulk-request/91049/2 "2017-06-28T07:07:52Z")

</div>

I suspect you should be able to make Logstash accept Elasticsearch format bulk requests by using the [es\_bulk codec](https://www.elastic.co/guide/en/logstash/current/plugins-codecs-es_bulk.html) together with an [http input plugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http.html), but have not tested it. You can also send a stream of events via the [tcp input plugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-tcp.html). Is this what you are looking for?

---

<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 26, 2017, 7:08am UTC](https://discuss.elastic.co/t/logstash-bulk-request/91049/3 "2017-07-26T07:08:03Z")

</div>

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