mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-08 15:27:08 +02:00
36 lines
608 B
Ruby
36 lines
608 B
Ruby
class Fluentd
|
|
module Setting
|
|
class InSyslog
|
|
include Fluentd::Setting::Plugin
|
|
|
|
register_plugin("input", "syslog")
|
|
|
|
def self.initial_params
|
|
params = {
|
|
parse_type: "syslog",
|
|
parse: {
|
|
"0" => {
|
|
"type" => "syslog"
|
|
}
|
|
}
|
|
}
|
|
super.compact.deep_merge(params)
|
|
end
|
|
|
|
def common_options
|
|
[
|
|
:label, :tag, :bind, :port
|
|
]
|
|
end
|
|
|
|
def hidden_options
|
|
[
|
|
:parse,
|
|
:transport,
|
|
:blocking_timeout
|
|
]
|
|
end
|
|
end
|
|
end
|
|
end
|