format: add support for ndjson_batch#155
Open
yaauie wants to merge 1 commit intologstash-plugins:mainfrom
Open
format: add support for ndjson_batch#155yaauie wants to merge 1 commit intologstash-plugins:mainfrom
ndjson_batch#155yaauie wants to merge 1 commit intologstash-plugins:mainfrom
Conversation
jsvd
reviewed
Feb 3, 2026
| @@ -1,3 +1,6 @@ | |||
| ## 6.1.0 | |||
| - Added support for batched newline-delimited json with `format => ndjson_batch` | |||
Member
There was a problem hiding this comment.
Suggested change
| - Added support for batched newline-delimited json with `format => ndjson_batch` | |
| - Added support for batched newline-delimited json with `format => ndjson_batch` [#155](https://github.com/logstash-plugins/logstash-output-http/pull/155) |
| If form, then the body will be the mapping (or whole event) converted | ||
| into a query parameter string, e.g. `foo=bar&baz=fizz...` | ||
| When set to a batch-oriented `format`, each batch of events received by this output will be transmitted in a single http request. | ||
| This is particularly useful for high throughput scenarios such as sending data between Logstash instances. |
Member
There was a problem hiding this comment.
Suggested change
| This is particularly useful for high throughput scenarios such as sending data between Logstash instances. | |
| This is recommended for most workloads, as batching avoids severely limiting throughput due to the request's round-trip time. For example, an RTT of 5ms will limit throughput to 200 events per second, per pipeline worker. |
| This is particularly useful for high throughput scenarios such as sending data between Logstash instances. | ||
|
|
||
| If message, then the body will be the result of formatting the event according to message | ||
| Non-batch formats send one http request per event, which can have significantly lower throughput. |
Member
There was a problem hiding this comment.
Suggested change
| Non-batch formats send one http request per event, which can have significantly lower throughput. | |
| Non-batch formats send one HTTP request per event, which will have significantly lower throughput. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for
format => ndjson_batch, which is batch-oriented and sends newline-delimited sequence of events