Class: LogStash::Codecs::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/inputs/beats.rb

Overview

This input plugin enables Logstash to receive events from the https://www.elastic.co/products/beats[Elastic Beats] framework.

Instance Method Summary collapse

Instance Method Details

#accept(listener) ⇒ Object



30
31
32
33
34
# File 'lib/logstash/inputs/beats.rb', line 30

def accept(listener)
  decode(listener.data) do |event|
    listener.process_event(event)
  end
end

#auto_flushObject



37
38
# File 'lib/logstash/inputs/beats.rb', line 37

def auto_flush(*)
end