diff --git a/lib/fluent/plugin/parser_json.rb b/lib/fluent/plugin/parser_json.rb index a01185e33c..0190d4c084 100644 --- a/lib/fluent/plugin/parser_json.rb +++ b/lib/fluent/plugin/parser_json.rb @@ -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