mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-08 15:27:08 +02:00
26 lines
457 B
Ruby
26 lines
457 B
Ruby
class Fluentd
|
|
module Setting
|
|
class InMonitorAgent
|
|
include Fluentd::Setting::Plugin
|
|
|
|
register_plugin("input", "monitor_agent")
|
|
|
|
def self.initial_params
|
|
{
|
|
bind: "0.0.0.0",
|
|
port: 24220,
|
|
emit_interval: 60,
|
|
include_config: true,
|
|
include_retry: true
|
|
}
|
|
end
|
|
|
|
def common_options
|
|
[
|
|
:label, :bind, :port, :tag
|
|
]
|
|
end
|
|
end
|
|
end
|
|
end
|