Logstash 5.1.1 - Couldn't find any filter plugin named 'multiline'

I have found the problem.

I should have been installing "filter", not a "codec"

/usr/share/logstash/bin/logstash-plugin install logstash-filter-multiline