mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-08 07:17:07 +02:00
24 lines
427 B
Ruby
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
|