Logstash Bulk Indexing

Hello Community,

I am new to Logstash and I was looking through the Logstash documentation for support of Bulk Indexing in elasticsearch output plugin. I got one config "bulk_path" related to this. But I am unable to understand the working of bulk indexing via elastic search output plugin. Also what configurations are needed to be done for implementing it.
It would be great help if anyone could provide a sample bulk indexing pipeline configuration of Logstash.

Any help would be appreciated.

The elasticsearch output plugin uses bulk requests by default, so no additional configuration is required.

1 Like

Then what does the configuration 'bulk_path' do ?

Not sure when it would be used as I have never used it myself.

1 Like

Ok. And can we tweak the batch size of bulk request. ? Which is 20mb by default (as per documentation) .

The bulk size is typically limited by the pipeline.batch.size parameter as well by the batch size described in the docs. Not sure the latter one can be tuned, but you should not generally use batches larger than 20mb anyway.

1 Like

Thank you for your support . :slight_smile:

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