Skip to content

Commit

Permalink
Merge pull request #713 from okkez/add-descriptions-filter-record-tra…
Browse files Browse the repository at this point in the history
…nsformer

Add descriptions to filter_record_transformer
  • Loading branch information
sonots authored and repeatedly committed Dec 8, 2015
1 parent aa80092 commit 1080a53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/fluent/plugin/filter_record_transformer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ def initialize
super
end

desc 'A comma-delimited list of keys to delete.'
config_param :remove_keys, :string, :default => nil
desc 'A comma-delimited list of keys to keep.'
config_param :keep_keys, :string, :default => nil
desc 'Create new Hash to transform incoming data'
config_param :renew_record, :bool, :default => false
desc 'Specify field name of the record to overwrite the time of events. Its value must be unix time.'
config_param :renew_time_key, :string, :default => nil
desc 'When set to true, the full Ruby syntax is enabled in the ${...} expression.'
config_param :enable_ruby, :bool, :default => false
desc 'Use original value type.'
config_param :auto_typecast, :bool, :default => false # false for lower version compatibility

def configure(conf)
Expand Down

0 comments on commit 1080a53

Please sign in to comment.