In the Logstash elastic search output documentation it mentions...
Batch Sizes: This plugin attempts to send batches of events to the [Elasticsearch Bulk API]
I can't find any information on how the batches are buffered, is it time based or document count based, when is it flushed etc?
I have taken a quick look at GitHub - logstash-plugins/logstash-output-elasticsearch and I can't see any code mentioning batches only comments.