Logstash multithreading?

Hello everyone !!

I have a logstash config file that has 15 inputs. When running logstash in debug mode i can realize that every input are read one by one. if one input is blocked, it tries several time to load it before moving on to the next one.

I want to configure logstash so that every input can be read simultaneously(at the same time), can anyone explain me how to this ?

Best regards,

When every pipeline is started Logstash by default assigns workers to the filter and output stage.
"The number of workers that will, in parallel, execute the filter and output stages of the pipeline."

https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html

That says noting about the input multi-threading.

I think such isolation can be accomplished only by separating your inputs into dedicated pipelines and having a persisted queue on top of it.

1 Like

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