fluentd-ui/app/models/fluentd/setting/parser_syslog.rb
Kenji Okimoto c7af576b72
Organize options
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-10-02 17:01:29 +09:00

24 lines
427 B
Ruby

class Fluentd
module Setting
class ParserSyslog
include Fluentd::Setting::Plugin
register_plugin("parser", "syslog")
# Overwrite type of time_format
config_param(:time_format, :string)
def self.initial_params
{}
end
def common_options
[
:message_format,
:rfc5424_time_format,
:with_priority,
]
end
end
end
end