From c620fa603a9c0019884676abf4f0b2fc825dcc13 Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Wed, 6 Dec 2017 14:44:22 +0900 Subject: [PATCH] Add description to parser_json --- lib/fluent/plugin/parser_json.rb | 1 + 1 file changed, 1 insertion(+) 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