Skip to content

Commit

Permalink
Add description to parser_json
Browse files Browse the repository at this point in the history
  • Loading branch information
okkez committed Dec 6, 2017
1 parent ed82cf8 commit c620fa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fluent/plugin/parser_json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class JSONParser < Parser
Plugin.register_parser('json', self)

config_set_default :time_key, 'time'
desc 'Set JSON parser'
config_param :json_parser, :enum, list: [:oj, :yajl, :json], default: :oj

config_set_default :time_type, :float
Expand Down

0 comments on commit c620fa6

Please sign in to comment.