From d5b9f766b4b9c9eeee41978e383c617371120bf0 Mon Sep 17 00:00:00 2001 From: Kurt Hurtado Date: Wed, 12 Feb 2014 15:32:09 -0800 Subject: [PATCH] 2nd pass cleanup --- lib/logstash/filters/json.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/logstash/filters/json.rb b/lib/logstash/filters/json.rb index ebd9520f896..7d4d3981523 100644 --- a/lib/logstash/filters/json.rb +++ b/lib/logstash/filters/json.rb @@ -3,9 +3,9 @@ require "logstash/namespace" # This is a JSON parsing filter. It takes an existing field which contains JSON and -# expands it into an actual datastructure within the logstash event. +# expands it into an actual data structure within the Logstash event. # -# By default it will place the parsed JSON in the root of the logstash event, but this +# By default it will place the parsed JSON in the root (top level) of the Logstash event, but this # filter can be configured to place the JSON into any arbitrary event field, using the # `target` configuration. class LogStash::Filters::Json < LogStash::Filters::Base @@ -29,7 +29,7 @@ class LogStash::Filters::Json < LogStash::Filters::Base config :source, :validate => :string, :required => true # Define the target field for placing the parsed data. If this setting is - # ommitted, the JSON data will be stored at the root of the event. + # omitted, the JSON data will be stored at the root (top level) of the event. # # For example, if you want the data to be put in the 'doc' field: # @@ -40,7 +40,7 @@ class LogStash::Filters::Json < LogStash::Filters::Base # } # # JSON in the value of the `source` field will be expanded into a - # datastructure in the `target` field. + # data structure in the `target` field. # # NOTE: if the `target` field already exists, it will be overwritten! config :target, :validate => :string