escape underscores

This commit is contained in:
Kurt Hurtado 2014-02-27 00:19:24 -08:00
parent 75f3214f65
commit 482a96eadf

View file

@ -28,11 +28,11 @@ class LogStash::Inputs::Gelf < LogStash::Inputs::Base
#
# 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["message"].
# * if there is no `full\_message`, `short\_message` becomes event["message"].
config :remap, :validate => :boolean, :default => true
# Whether or not to remove the leading '_' in GELF fields or leave them
# 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
# as an "additional" field, beginning with an underscore.