Logstash elasticsearch pipeline processing rate


(Sharat Jagannath) #1

i have a basic question on logstash elasticsearch pipeline processing rate.
When i set flush_size to a value, does logstash wait until that size is reached before it starts sending it to es? if the size is not reached what happens?
how do i make it work for bulk and also non bulk requests dynamically based on size of the input.

Thanks


(Magnus B├Ąck) #2

The documentation of the idle_flush_time option should answer your questions.


(Sharat Jagannath) #3

does increasing number of logstash consumers increase the indexing speed?


(Christian Dahlqvist) #4

That depends on what is limiting performance. If any of the outputs, e.g. Elasticsearch, is not able to handle higher throughput, adding Logstash instances may not help. If however Logstash, which usually is CPU bound, is the bottleneck, scaling up/out the Logstash layer may help.


(system) #5

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