Class: Fluent::Plugin::NaisRemapElasticsearchFilter

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

Instance Method Summary collapse

Instance Method Details

#configure(conf) ⇒ Object



9
10
11
# File 'lib/fluent/plugin/filter_nais_remap_elasticsearch.rb', line 9

def configure(conf)
  super
end

#filter(tag, time, record) ⇒ Object



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

def filter(tag, time, record)
  ::Nais::Log::Parser.remap_elasticsearch_fields(time, record)
end