Increase filebeat worker threads?


(Vinothini Gunasekaran) #1

Is there a way to increase Filebeat's worker threads and have it read multiple log files at the same time?


(Steffen Siering) #2

Written in golang the runtime system supporting N:M threading there are hardly worker-threads per-se. The runtime generates as many OS-threads as logical CPUs are available. filebeat itself generates one worker per file. All files are processed concurrently and in parallel if enough OS-threads have been generated.


(system) #3