Class: Fluent::Plugin::NaisRemapTraefikFilter
- Inherits:
-
Filter
- Object
- Filter
- Fluent::Plugin::NaisRemapTraefikFilter
- Defined in:
- lib/fluent/plugin/filter_nais_remap_traefik.rb
Instance Method Summary collapse
Instance Method Details
#filter(tag, time, record) ⇒ Object
10 11 12 13 14 |
# File 'lib/fluent/plugin/filter_nais_remap_traefik.rb', line 10 def filter(tag, time, record) record['message'] = record.delete('RequestLine') if record.has_key?('RequestLine') record.delete('msg') if record['msg'] == "" record end |