Error: Cannot use more than 1 filter worker


(Allen Chan) #1

Has anyone seen this error before? First time i saw it on 1.5 GA

"Error: Cannot use more than 1 filter worker because the following plugins don't work with more than one worker: multiline, multiline, multiline"


(Christian Dahlqvist) #2

When you are using the multiline filter, it needs to process all log lines in sequence in order to be able to assemble them correctly, which is why it will give incorrect results if more than one worker is used as these will process lines in parallel. If you however instead assemble multilines already within the input plugin using the [multiline codec] (https://www.elastic.co/guide/en/logstash/current/plugins-codecs-multiline.html), you will be free to use multiple workers.


(Allen Chan) #3

Thank you Christian. I just wish that the 1.5 ChangeLog would be more explicit about the force of moving from multiline filter to multiline codec. Not a big deal i guess


(system) #4