fluentd-ui/app/models/fluentd/setting/in_forward.rb
Kenji Okimoto a8401530ab
Use new style definition
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-24 18:26:17 +09:00

26 lines
441 B
Ruby

class Fluentd
module Setting
class InForward
include Fluentd::Setting::Plugin
register_plugin("input", "forward")
def self.initial_params
{
bind: "0.0.0.0",
port: 24224,
linger_timeout: 0,
chunk_size_limit: nil,
chunk_size_warn_limit: nil,
}
end
def common_options
[
:bind, :port
]
end
end
end
end