Class: LogStash::Codecs::Base

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

Overview

Allow Logstash to receive events from Beats

github.com/elastic/filebeat[filebeat]

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_flushObject



40
41
# File 'lib/logstash/inputs/beats.rb', line 40

def auto_flush(*)
end