Class: Fluentd::Setting::OutTdlog
- Inherits:
-
Object
- Object
- Fluentd::Setting::OutTdlog
show all
- Includes:
- Plugin
- Defined in:
- app/models/fluentd/setting/out_tdlog.rb
Class Method Summary
collapse
Instance Method Summary
collapse
#advanced_options, #all_options, #column_type, #create_buffer, #create_formatter, #create_parser, #create_storage, #default, #desc, #have_buffer_section?, #have_format_section?, #have_parse_section?, #have_storage_section?, #list_of
#initialize
#config_element, #parse_attributes, #skip?, #to_config, #validate_configuration
Class Method Details
.initial_params ⇒ Object
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'app/models/fluentd/setting/out_tdlog.rb', line 8
def self.initial_params
params = {
pattern: "td.*.*",
buffer_type: "file",
buffer: {
"0" => {
"type" => "file",
"path" => "/var/log/td-agent/buffer/td",
}
},
auto_create_table: true,
}
super.compact.deep_merge(params)
end
|
Instance Method Details
#common_options ⇒ Object
23
24
25
26
27
|
# File 'app/models/fluentd/setting/out_tdlog.rb', line 23
def common_options
[
:label, :pattern, :apikey, :auto_create_table, :database, :table,
]
end
|
#hidden_options ⇒ Object
29
30
31
32
33
|
# File 'app/models/fluentd/setting/out_tdlog.rb', line 29
def hidden_options
[
:secondary
]
end
|