Class: LogStash::Codecs::Base
- Inherits:
-
Object
- Object
- LogStash::Codecs::Base
- Defined in:
- lib/logstash/inputs/beats.rb
Overview
Allow Logstash to receive events from Beats
Instance Method Summary collapse
Instance Method Details
#accept(listener) ⇒ Object
33 34 35 36 37 |
# File 'lib/logstash/inputs/beats.rb', line 33 def accept(listener) decode(listener.data) do |event| listener.process_event(event) end end |
#auto_flush ⇒ Object
40 41 |
# File 'lib/logstash/inputs/beats.rb', line 40 def auto_flush(*) end |