# Bulk Requests to HTTP Input

**URL:** <https://discuss.elastic.co/t/bulk-requests-to-http-input/273381>\
**Category:** Logstash\
**Created:** [May 19, 2021, 10:01am UTC](https://discuss.elastic.co/t/bulk-requests-to-http-input/273381 "2021-05-19T10:01:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Post date:** [May 19, 2021, 10:01am UTC](https://discuss.elastic.co/t/bulk-requests-to-http-input/273381/1 "2021-05-19T10:01:32Z")

</div>

Hi,  
I have an http input configured to receive http bulk requests in `application/x-ndjson` format. However, logs are not flowing. The input config looks like this:

```auto
    input {
      http {
        codec => "json"
        additional_codecs => { "application/x-ndjson" => "json"}
        max_pending_requests => 400
        host => "0.0.0.0"
        port => 8080
      }
    }

```

If I disable bulk transmit from the upstream and change `additional_codecs` to `application/json` then it works. So, how should I configure this input to accept bulk payloads?

Thx  
D

---

<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:** [June 16, 2021, 10:01am UTC](https://discuss.elastic.co/t/bulk-requests-to-http-input/273381/2 "2021-06-16T10:01:55Z")

</div>

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