It seems that
pipeline.workers allows to configure worker threads for filter and output stage.
-w, --pipeline.workers COUNT
Sets the number of pipeline workers to run. This option sets the number of workers that will, in parallel, execute the filter and output stages of the pipeline. If you find that events are backing up, or that the CPU is not saturated, consider increasing this number to better utilize machine processing power. The default is the number of the host’s CPU cores.
How could i configure worker threads for input stage ? Or the number of worker threads is controlled by type of input plugin?