diff --git a/lib/logstash/inputs/base.rb b/lib/logstash/inputs/base.rb index d7d7b2045..f72dfd743 100644 --- a/lib/logstash/inputs/base.rb +++ b/lib/logstash/inputs/base.rb @@ -89,11 +89,6 @@ class LogStash::Inputs::Base < LogStash::Plugin @stop_called.value end - protected - def to_event(raw, source) - raise LogStash::ThisMethodWasRemoved("LogStash::Inputs::Base#to_event - you should use codecs now instead of to_event. Not sure what this means? Get help on https://discuss.elastic.co/c/logstash") - end # def to_event - protected def decorate(event) # Only set 'type' if not already set. This is backwards-compatible behavior