Class: Fluentd::Setting::OutTd
- Inherits:
-
Object
- Object
- Fluentd::Setting::OutTd
show all
- Includes:
- ActiveModel::Model, Common
- Defined in:
- app/models/fluentd/setting/out_td.rb
Constant Summary
collapse
- KEYS =
[
:match,
:apikey, :auto_create_table, :database, :table,
:flush_interval, :buffer_type, :buffer_path,
].freeze
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Common
#boolenan, #child_class, #children_of, #column_type, #conf, #empty_value?, #flag, #input_plugin?, #output_plugin?, #plugin_type_name, #print_if_present, #to_config, #values_of
Class Method Details
.initial_params ⇒ Object
25
26
27
28
29
30
31
32
|
# File 'app/models/fluentd/setting/out_td.rb', line 25
def self.initial_params
{
buffer_type: "file",
buffer_path: "/var/log/td-agent/buffer/td",
auto_create_table: true,
match: "td.*.*",
}
end
|
Instance Method Details
#advanced_options ⇒ Object
40
41
42
43
44
|
# File 'app/models/fluentd/setting/out_td.rb', line 40
def advanced_options
[
:flush_interval, :buffer_type, :buffer_path,
]
end
|
#common_options ⇒ Object
34
35
36
37
38
|
# File 'app/models/fluentd/setting/out_td.rb', line 34
def common_options
[
:match, :apikey, :auto_create_table, :database, :table,
]
end
|
#plugin_name ⇒ Object
21
22
23
|
# File 'app/models/fluentd/setting/out_td.rb', line 21
def plugin_name
"tdlog"
end
|