mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
Deprecated method to_event
in input.base
No current plugins uses this and it was deprecated since at least 1.4.2 Fixes #4114
This commit is contained in:
parent
841b876778
commit
cbdeb166e3
1 changed files with 0 additions and 5 deletions
|
@ -89,11 +89,6 @@ class LogStash::Inputs::Base < LogStash::Plugin
|
||||||
@stop_called.value
|
@stop_called.value
|
||||||
end
|
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
|
protected
|
||||||
def decorate(event)
|
def decorate(event)
|
||||||
# Only set 'type' if not already set. This is backwards-compatible behavior
|
# Only set 'type' if not already set. This is backwards-compatible behavior
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue