Class: Fluent::Plugin::FlattenHashFilter

Inherits:
Filter
  • Object
show all
Includes:
FlattenHashUtil
Defined in:
lib/fluent/plugin/filter_flatten_hash.rb

Instance Method Summary collapse

Methods included from FlattenHashUtil

#flatten_record

Instance Method Details

#configure(conf) ⇒ Object



13
14
15
# File 'lib/fluent/plugin/filter_flatten_hash.rb', line 13

def configure(conf)
  super
end

#filter(tag, time, record) ⇒ Object



17
18
19
# File 'lib/fluent/plugin/filter_flatten_hash.rb', line 17

def filter(tag, time, record)
  flatten_record(record, [])
end