Skip to content

Commit

Permalink
Merge pull request #1776 from okkez/add-description-to-parser-json
Browse files Browse the repository at this point in the history
Add description to parser_json
  • Loading branch information
repeatedly authored Dec 6, 2017
2 parents f439f4f + c620fa6 commit abd4e11
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 abd4e11

Please sign in to comment.