mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
escape underscores
This commit is contained in:
parent
75f3214f65
commit
482a96eadf
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue