How to install multiline plugin (Ubuntu 17.10)?

Hi,
I have created a filter that uses multiline plugin in logstash, but how can I install the multiline filter plugin? I use Ubuntu 17.10.

This is my error:

Tried to load a plugin's code, but failed. {:exception=>#<LoadError: no such file to load -- logstash/filters/multiline>, :path=>"logstash/filters/multiline", :type=>"filter", :name=>"multiline"}

This is my filter:

input { 
        beats { 
                port => "5044"
        } 
}
filter {
  multiline {
      pattern => "^\s"
      what => "previous"
  }
  dissect {
    mapping => {
      "message" => "%{timestamp} | %{level} | %{subsystem} | %{route} | %{class} | %{message}"
    }
  }
  date {
    match => [ "timestamp", "ISO8601" ]
  }
}
output {
        elasticsearch { 
                hosts => ["localhost:9200"]
                index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
                document_type => "%{[metadata][type]}"
        }
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.