Class: Fluent::FilterNestedHash

Inherits:
Filter
  • Object
show all
Defined in:
lib/fluent/plugin/filter_nested_hash.rb

Instance Method Summary collapse

Instance Method Details

#configure(conf) ⇒ Object



10
11
12
# File 'lib/fluent/plugin/filter_nested_hash.rb', line 10

def configure conf
  super
end

#filter(tag, time, record) ⇒ Object



22
23
24
# File 'lib/fluent/plugin/filter_nested_hash.rb', line 22

def filter tag, time, record
  Fluent::NestedHashFilter::NestedObject.convert record, connector: @connector, jsonify_keys: @acts_as_json
end

#shutdownObject



18
19
20
# File 'lib/fluent/plugin/filter_nested_hash.rb', line 18

def shutdown
  super
end

#startObject



14
15
16
# File 'lib/fluent/plugin/filter_nested_hash.rb', line 14

def start
  super
end