fluentd-ui/app/models/fluentd/setting/parser_json.rb
Kenji Okimoto 5750349b1e
Add models for parser plugins
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-06-05 17:13:25 +09:00

16 lines
240 B
Ruby

class Fluentd
module Setting
module ParserJson
include Fluentd::Setting::Plugin
register_plugin("parser", "json")
def self.initial_params
{
json_parser: "oj"
}
end
end
end
end