Hi,
I am trying to output batched newline delimited JSON using the logstash http output.
Can the json_batch format be used together with the json_lines codec to achieve this?
A similar query was posted here, but nobody seemed to respond.
https://discuss.elastic.co/t/using-ndjson-for-logstash-http-output-plugin/322683/1
Thanks
kercdbh
(kercdbh)
July 2, 2024, 1:14pm
2
it seems we're "that" close to have this NDJSON format in the logstash http output plugin
logstash-plugins:main
← VolunPotest:master
opened 11:22AM - 30 Apr 20 UTC
Hello. I noticed that library don't have json_lines format - so i fix it.
Now f… ormat can support json_lines
Also i added new config: batch_url_format (bool)
When ienabled - you can forma url when you use batch body with format: json_lines and json_batch