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

33 lines
516 B
Ruby

class Fluentd
module Setting
class OutForward
include Fluentd::Setting::Plugin
register_plugin("output", "forward")
def self.initial_params
{
secondary: {
"0" => {
type: "file",
}
}
}
end
def common_options
[
:pattern, :server, :secondary,
]
end
def hidden_options
[
:inject, :buffer,
:host, :port
]
end
end
end
end