Class: Fluentd::Setting::OutElasticsearch
- Inherits:
-
Object
- Object
- Fluentd::Setting::OutElasticsearch
show all
- Includes:
- Plugin
- Defined in:
- app/models/fluentd/setting/out_elasticsearch.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
22
23
24
25
|
# File 'app/models/fluentd/setting/out_elasticsearch.rb', line 8
def self.initial_params
{
host: "127.0.0.1",
port: 9200,
index_name: "via_fluentd",
type_name: "via_fluentd",
logstash_format: true,
include_tag_key: false,
utc_index: true,
buffer_type: "file",
buffer: {
"0" => {
"type" => "file",
"path" => "/var/log/td-agent/buffer/elasticsearch",
}
},
}
end
|
Instance Method Details
#common_options ⇒ Object
27
28
29
30
31
32
33
|
# File 'app/models/fluentd/setting/out_elasticsearch.rb', line 27
def common_options
[
:label,
:pattern, :host, :port, :logstash_format,
:index_name, :type_name,
]
end
|
#hidden_options ⇒ Object
35
36
37
38
39
|
# File 'app/models/fluentd/setting/out_elasticsearch.rb', line 35
def hidden_options
[
:secondary, :inject, :buffer
]
end
|