Class: Fluent::OutNestedHash

Inherits:
Output
  • Object
show all
Defined in:
lib/fluent/plugin/out_nested_hash.rb

Instance Method Summary collapse

Instance Method Details

#configure(conf) ⇒ Object



7
8
9
# File 'lib/fluent/plugin/out_nested_hash.rb', line 7

def configure conf
  super
end

#emit(tag, es, chain) ⇒ Object



19
20
21
22
23
24
25
26
# File 'lib/fluent/plugin/out_nested_hash.rb', line 19

def emit tag, es, chain
  es.each do |time, record|
    record = Fluent::NestedHashFilter::NestedObject.convert record
    Fluent::Engine.emit tag, time, record
  end

  chain.next
end

#shutdownObject



15
16
17
# File 'lib/fluent/plugin/out_nested_hash.rb', line 15

def shutdown
  super
end

#startObject



11
12
13
# File 'lib/fluent/plugin/out_nested_hash.rb', line 11

def start
  super
end