Kenji Okimoto a8401530ab
Use new style definition
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-24 18:26:17 +09:00

32 lines
512 B
Ruby

class Fluentd
module Setting
class InHttp
include Fluentd::Setting::Plugin
register_plugin("input", "http")
def self.initial_params
{
bind: "0.0.0.0",
port: 8888,
body_size_limit: "32m",
keepalive_timeout: "10s",
add_http_headers: false,
}
end
def common_options
[
:bind, :port
]
end
def hidden_options
[
:parse
]
end
end
end
end