lib/logstash/inputs/gelf.rb in logstash-input-gelf-3.0.2 vs lib/logstash/inputs/gelf.rb in logstash-input-gelf-3.0.4

- old
+ new

@@ -36,11 +36,11 @@ # Whether or not to remap the GELF message fields to Logstash event fields or # leave them intact. # # Remapping converts the following GELF fields to Logstash equivalents: # - # * `full\_message` becomes `event["message"]`. - # * if there is no `full\_message`, `short\_message` becomes `event["message"]`. + # * `full\_message` becomes `event.get("message")`. + # * if there is no `full\_message`, `short\_message` becomes `event.get("message")`. config :remap, :validate => :boolean, :default => true # Whether or not to remove the leading `\_` in GELF fields or leave them # in place. (Logstash < 1.2 did not remove them by default.). Note that # GELF version 1.1 format now requires all non-standard fields to be added