Class: LogStash::Inputs::Beats::RawEventTransform

Inherits:
EventTransformCommon show all
Defined in:
lib/logstash/inputs/beats/raw_event_transform.rb

Overview

Take the the raw output from the library, decorate it with the configured tags in the plugins and normalize the hostname for backward compatibility

See Also:

  • [Lumberjack[Lumberjack::Beats[Lumberjack::Beats::Parser]

Instance Method Summary collapse

Methods inherited from EventTransformCommon

#codec_name, #copy_beat_hostname, #decorate, #include_codec_tag?, #initialize

Constructor Details

This class inherits a constructor from LogStash::Inputs::Beats::EventTransformCommon

Instance Method Details

#transform(event) ⇒ Object



12
13
14
15
16
# File 'lib/logstash/inputs/beats/raw_event_transform.rb', line 12

def transform(event)
  super(event)
  event.tag("beats_input_raw_event") if include_codec_tag?
  event
end