Multiline not processing event until pipeline stops

Little update: I've noticed that using the multiline filter with Logstash 2.4.0 everything works fine.
However, trying the same multiline filter with Logstash 5.5.0 I receive a config error:

reason=>"Couldn't find any filter plugin named 'multiline'. Are you sure this is correct? Trying to load the multiline filter plugin resulted in this error: LoadError