logstash-output-elasticsearch-test 10.3.0-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +397 -0
- data/CONTRIBUTORS +33 -0
- data/Gemfile +15 -0
- data/LICENSE +13 -0
- data/NOTICE.TXT +5 -0
- data/README.md +106 -0
- data/docs/index.asciidoc +899 -0
- data/lib/logstash/outputs/elasticsearch/common.rb +441 -0
- data/lib/logstash/outputs/elasticsearch/common_configs.rb +167 -0
- data/lib/logstash/outputs/elasticsearch/default-ilm-policy.json +14 -0
- data/lib/logstash/outputs/elasticsearch/elasticsearch-template-es2x.json +95 -0
- data/lib/logstash/outputs/elasticsearch/elasticsearch-template-es5x.json +46 -0
- data/lib/logstash/outputs/elasticsearch/elasticsearch-template-es6x.json +45 -0
- data/lib/logstash/outputs/elasticsearch/elasticsearch-template-es7x.json +44 -0
- data/lib/logstash/outputs/elasticsearch/elasticsearch-template-es8x.json +44 -0
- data/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb +131 -0
- data/lib/logstash/outputs/elasticsearch/http_client/pool.rb +495 -0
- data/lib/logstash/outputs/elasticsearch/http_client.rb +432 -0
- data/lib/logstash/outputs/elasticsearch/http_client_builder.rb +159 -0
- data/lib/logstash/outputs/elasticsearch/ilm.rb +113 -0
- data/lib/logstash/outputs/elasticsearch/template_manager.rb +61 -0
- data/lib/logstash/outputs/elasticsearch.rb +263 -0
- data/logstash-output-elasticsearch.gemspec +33 -0
- data/spec/es_spec_helper.rb +189 -0
- data/spec/fixtures/_nodes/2x_1x.json +27 -0
- data/spec/fixtures/_nodes/5x_6x.json +81 -0
- data/spec/fixtures/_nodes/7x.json +92 -0
- data/spec/fixtures/htpasswd +2 -0
- data/spec/fixtures/nginx_reverse_proxy.conf +22 -0
- data/spec/fixtures/scripts/groovy/scripted_update.groovy +2 -0
- data/spec/fixtures/scripts/groovy/scripted_update_nested.groovy +2 -0
- data/spec/fixtures/scripts/groovy/scripted_upsert.groovy +2 -0
- data/spec/fixtures/scripts/painless/scripted_update.painless +2 -0
- data/spec/fixtures/scripts/painless/scripted_update_nested.painless +1 -0
- data/spec/fixtures/scripts/painless/scripted_upsert.painless +1 -0
- data/spec/fixtures/template-with-policy-es6x.json +48 -0
- data/spec/fixtures/template-with-policy-es7x.json +45 -0
- data/spec/fixtures/test_certs/ca/ca.crt +32 -0
- data/spec/fixtures/test_certs/ca/ca.key +51 -0
- data/spec/fixtures/test_certs/test.crt +36 -0
- data/spec/fixtures/test_certs/test.key +51 -0
- data/spec/integration/outputs/compressed_indexing_spec.rb +69 -0
- data/spec/integration/outputs/create_spec.rb +67 -0
- data/spec/integration/outputs/delete_spec.rb +65 -0
- data/spec/integration/outputs/groovy_update_spec.rb +150 -0
- data/spec/integration/outputs/ilm_spec.rb +531 -0
- data/spec/integration/outputs/index_spec.rb +178 -0
- data/spec/integration/outputs/index_version_spec.rb +102 -0
- data/spec/integration/outputs/ingest_pipeline_spec.rb +74 -0
- data/spec/integration/outputs/metrics_spec.rb +70 -0
- data/spec/integration/outputs/no_es_on_startup_spec.rb +58 -0
- data/spec/integration/outputs/painless_update_spec.rb +189 -0
- data/spec/integration/outputs/parent_spec.rb +102 -0
- data/spec/integration/outputs/retry_spec.rb +169 -0
- data/spec/integration/outputs/routing_spec.rb +61 -0
- data/spec/integration/outputs/sniffer_spec.rb +133 -0
- data/spec/integration/outputs/templates_5x_spec.rb +98 -0
- data/spec/integration/outputs/templates_spec.rb +98 -0
- data/spec/integration/outputs/update_spec.rb +116 -0
- data/spec/support/elasticsearch/api/actions/delete_ilm_policy.rb +19 -0
- data/spec/support/elasticsearch/api/actions/get_alias.rb +18 -0
- data/spec/support/elasticsearch/api/actions/get_ilm_policy.rb +18 -0
- data/spec/support/elasticsearch/api/actions/put_alias.rb +24 -0
- data/spec/support/elasticsearch/api/actions/put_ilm_policy.rb +25 -0
- data/spec/unit/http_client_builder_spec.rb +185 -0
- data/spec/unit/outputs/elasticsearch/http_client/manticore_adapter_spec.rb +149 -0
- data/spec/unit/outputs/elasticsearch/http_client/pool_spec.rb +274 -0
- data/spec/unit/outputs/elasticsearch/http_client_spec.rb +250 -0
- data/spec/unit/outputs/elasticsearch/template_manager_spec.rb +25 -0
- data/spec/unit/outputs/elasticsearch_proxy_spec.rb +72 -0
- data/spec/unit/outputs/elasticsearch_spec.rb +675 -0
- data/spec/unit/outputs/elasticsearch_ssl_spec.rb +82 -0
- data/spec/unit/outputs/error_whitelist_spec.rb +54 -0
- metadata +300 -0
@@ -0,0 +1,82 @@
|
|
1
|
+
require_relative "../../../spec/es_spec_helper"
|
2
|
+
require 'stud/temporary'
|
3
|
+
require "logstash/outputs/elasticsearch"
|
4
|
+
|
5
|
+
describe "SSL option" do
|
6
|
+
let(:manticore_double) { double("manticoreSSL #{self.inspect}") }
|
7
|
+
before do
|
8
|
+
allow(manticore_double).to receive(:close)
|
9
|
+
|
10
|
+
response_double = double("manticore response").as_null_object
|
11
|
+
# Allow healtchecks
|
12
|
+
allow(manticore_double).to receive(:head).with(any_args).and_return(response_double)
|
13
|
+
allow(manticore_double).to receive(:get).with(any_args).and_return(response_double)
|
14
|
+
|
15
|
+
allow(::Manticore::Client).to receive(:new).and_return(manticore_double)
|
16
|
+
end
|
17
|
+
|
18
|
+
context "when using ssl without cert verification" do
|
19
|
+
subject do
|
20
|
+
require "logstash/outputs/elasticsearch"
|
21
|
+
settings = {
|
22
|
+
"hosts" => "localhost",
|
23
|
+
"ssl" => true,
|
24
|
+
"ssl_certificate_verification" => false,
|
25
|
+
"pool_max" => 1,
|
26
|
+
"pool_max_per_route" => 1
|
27
|
+
}
|
28
|
+
LogStash::Outputs::ElasticSearch.new(settings)
|
29
|
+
end
|
30
|
+
|
31
|
+
after do
|
32
|
+
subject.close
|
33
|
+
end
|
34
|
+
|
35
|
+
it "should pass the flag to the ES client" do
|
36
|
+
expect(::Manticore::Client).to receive(:new) do |args|
|
37
|
+
expect(args[:ssl]).to eq(:enabled => true, :verify => false)
|
38
|
+
end.and_return(manticore_double)
|
39
|
+
|
40
|
+
subject.register
|
41
|
+
end
|
42
|
+
|
43
|
+
it "should print a warning" do
|
44
|
+
disabled_matcher = /You have enabled encryption but DISABLED certificate verification/
|
45
|
+
expect(subject.logger).to receive(:warn).with(disabled_matcher).at_least(:once)
|
46
|
+
allow(subject.logger).to receive(:warn).with(any_args)
|
47
|
+
|
48
|
+
subject.register
|
49
|
+
allow(LogStash::Outputs::ElasticSearch::HttpClient::Pool).to receive(:start)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
context "when using ssl with client certificates" do
|
54
|
+
let(:keystore_path) { Stud::Temporary.file.path }
|
55
|
+
before do
|
56
|
+
`openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout lumberjack.key -out #{keystore_path}.pem`
|
57
|
+
end
|
58
|
+
|
59
|
+
after :each do
|
60
|
+
File.delete(keystore_path)
|
61
|
+
subject.close
|
62
|
+
end
|
63
|
+
|
64
|
+
subject do
|
65
|
+
require "logstash/outputs/elasticsearch"
|
66
|
+
settings = {
|
67
|
+
"hosts" => "node01",
|
68
|
+
"ssl" => true,
|
69
|
+
"cacert" => keystore_path,
|
70
|
+
}
|
71
|
+
next LogStash::Outputs::ElasticSearch.new(settings)
|
72
|
+
end
|
73
|
+
|
74
|
+
it "should pass the keystore parameters to the ES client" do
|
75
|
+
expect(::Manticore::Client).to receive(:new) do |args|
|
76
|
+
expect(args[:ssl]).to include(:keystore => keystore_path, :keystore_password => "test")
|
77
|
+
end.and_call_original
|
78
|
+
subject.register
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
require "logstash/outputs/elasticsearch"
|
2
|
+
require_relative "../../../spec/es_spec_helper"
|
3
|
+
|
4
|
+
describe "whitelisting error types in expected behavior" do
|
5
|
+
let(:template) { '{"template" : "not important, will be updated by :index"}' }
|
6
|
+
let(:event1) { LogStash::Event.new("somevalue" => 100, "@timestamp" => "2014-11-17T20:37:17.223Z") }
|
7
|
+
let(:action1) { ["index", {:_id=>1, :routing=>nil, :_index=>"logstash-2014.11.17", :_type=> doc_type }, event1] }
|
8
|
+
let(:settings) { {"manage_template" => true, "index" => "logstash-2014.11.17", "template_overwrite" => true, "hosts" => get_host_port() } }
|
9
|
+
|
10
|
+
subject { LogStash::Outputs::ElasticSearch.new(settings) }
|
11
|
+
|
12
|
+
before :each do
|
13
|
+
allow(subject.logger).to receive(:warn)
|
14
|
+
|
15
|
+
subject.register
|
16
|
+
|
17
|
+
allow(subject.client).to receive(:maximum_seen_major_version).and_return(0)
|
18
|
+
allow(subject.client).to receive(:get_xpack_info)
|
19
|
+
allow(subject.client).to receive(:bulk).and_return(
|
20
|
+
{
|
21
|
+
"errors" => true,
|
22
|
+
"items" => [{
|
23
|
+
"create" => {
|
24
|
+
"status" => 409,
|
25
|
+
"error" => {
|
26
|
+
"type" => "document_already_exists_exception",
|
27
|
+
"reason" => "[shard] document already exists"
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}]
|
31
|
+
})
|
32
|
+
|
33
|
+
subject.multi_receive([event1])
|
34
|
+
end
|
35
|
+
|
36
|
+
after :each do
|
37
|
+
subject.close
|
38
|
+
end
|
39
|
+
|
40
|
+
describe "when failure logging is enabled for everything" do
|
41
|
+
it "should log a failure on the action" do
|
42
|
+
expect(subject.logger).to have_received(:warn).with("Failed action.", anything)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe "when failure logging is disabled for docuemnt exists error" do
|
47
|
+
let(:settings) { super.merge("failure_type_logging_whitelist" => ["document_already_exists_exception"]) }
|
48
|
+
|
49
|
+
it "should log a failure on the action" do
|
50
|
+
expect(subject.logger).not_to have_received(:warn).with("Failed action.", anything)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
metadata
ADDED
@@ -0,0 +1,300 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: logstash-output-elasticsearch-test
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 10.3.0
|
5
|
+
platform: x86_64-linux
|
6
|
+
authors:
|
7
|
+
- Elastic&Test
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-08-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: manticore
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.5.4
|
20
|
+
- - <
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.5.4
|
30
|
+
- - <
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: stud
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 0.0.17
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.0'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.0.17
|
50
|
+
- - ~>
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0.0'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: cabin
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ~>
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0.6'
|
60
|
+
type: :runtime
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ~>
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0.6'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: logstash-core-plugin-api
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - '>='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1.60'
|
74
|
+
- - <=
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '2.99'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.60'
|
84
|
+
- - <=
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '2.99'
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: logstash-codec-plain
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - '>='
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: logstash-devutils
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
type: :development
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - '>='
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: flores
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: elasticsearch
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
description: This gem is a Logstash plugin required to be installed on top of the
|
144
|
+
Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
|
145
|
+
gem is not a stand-alone program
|
146
|
+
email: info@elastic.co
|
147
|
+
executables: []
|
148
|
+
extensions: []
|
149
|
+
extra_rdoc_files: []
|
150
|
+
files:
|
151
|
+
- lib/logstash/outputs/elasticsearch.rb
|
152
|
+
- lib/logstash/outputs/elasticsearch/default-ilm-policy.json
|
153
|
+
- lib/logstash/outputs/elasticsearch/http_client.rb
|
154
|
+
- lib/logstash/outputs/elasticsearch/http_client_builder.rb
|
155
|
+
- lib/logstash/outputs/elasticsearch/common_configs.rb
|
156
|
+
- lib/logstash/outputs/elasticsearch/elasticsearch-template-es6x.json
|
157
|
+
- lib/logstash/outputs/elasticsearch/http_client/pool.rb
|
158
|
+
- lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb
|
159
|
+
- lib/logstash/outputs/elasticsearch/template_manager.rb
|
160
|
+
- lib/logstash/outputs/elasticsearch/common.rb
|
161
|
+
- lib/logstash/outputs/elasticsearch/elasticsearch-template-es8x.json
|
162
|
+
- lib/logstash/outputs/elasticsearch/ilm.rb
|
163
|
+
- lib/logstash/outputs/elasticsearch/elasticsearch-template-es7x.json
|
164
|
+
- lib/logstash/outputs/elasticsearch/elasticsearch-template-es5x.json
|
165
|
+
- lib/logstash/outputs/elasticsearch/elasticsearch-template-es2x.json
|
166
|
+
- spec/fixtures/template-with-policy-es6x.json
|
167
|
+
- spec/fixtures/template-with-policy-es7x.json
|
168
|
+
- spec/fixtures/nginx_reverse_proxy.conf
|
169
|
+
- spec/fixtures/test_certs/test.crt
|
170
|
+
- spec/fixtures/test_certs/test.key
|
171
|
+
- spec/fixtures/test_certs/ca/ca.crt
|
172
|
+
- spec/fixtures/test_certs/ca/ca.key
|
173
|
+
- spec/fixtures/scripts/groovy/scripted_upsert.groovy
|
174
|
+
- spec/fixtures/scripts/groovy/scripted_update.groovy
|
175
|
+
- spec/fixtures/scripts/groovy/scripted_update_nested.groovy
|
176
|
+
- spec/fixtures/scripts/painless/scripted_update.painless
|
177
|
+
- spec/fixtures/scripts/painless/scripted_update_nested.painless
|
178
|
+
- spec/fixtures/scripts/painless/scripted_upsert.painless
|
179
|
+
- spec/fixtures/htpasswd
|
180
|
+
- spec/fixtures/_nodes/2x_1x.json
|
181
|
+
- spec/fixtures/_nodes/5x_6x.json
|
182
|
+
- spec/fixtures/_nodes/7x.json
|
183
|
+
- spec/unit/http_client_builder_spec.rb
|
184
|
+
- spec/unit/outputs/elasticsearch_proxy_spec.rb
|
185
|
+
- spec/unit/outputs/elasticsearch_ssl_spec.rb
|
186
|
+
- spec/unit/outputs/elasticsearch_spec.rb
|
187
|
+
- spec/unit/outputs/error_whitelist_spec.rb
|
188
|
+
- spec/unit/outputs/elasticsearch/http_client_spec.rb
|
189
|
+
- spec/unit/outputs/elasticsearch/template_manager_spec.rb
|
190
|
+
- spec/unit/outputs/elasticsearch/http_client/manticore_adapter_spec.rb
|
191
|
+
- spec/unit/outputs/elasticsearch/http_client/pool_spec.rb
|
192
|
+
- spec/integration/outputs/index_version_spec.rb
|
193
|
+
- spec/integration/outputs/routing_spec.rb
|
194
|
+
- spec/integration/outputs/metrics_spec.rb
|
195
|
+
- spec/integration/outputs/retry_spec.rb
|
196
|
+
- spec/integration/outputs/parent_spec.rb
|
197
|
+
- spec/integration/outputs/groovy_update_spec.rb
|
198
|
+
- spec/integration/outputs/delete_spec.rb
|
199
|
+
- spec/integration/outputs/templates_spec.rb
|
200
|
+
- spec/integration/outputs/update_spec.rb
|
201
|
+
- spec/integration/outputs/sniffer_spec.rb
|
202
|
+
- spec/integration/outputs/create_spec.rb
|
203
|
+
- spec/integration/outputs/templates_5x_spec.rb
|
204
|
+
- spec/integration/outputs/compressed_indexing_spec.rb
|
205
|
+
- spec/integration/outputs/ingest_pipeline_spec.rb
|
206
|
+
- spec/integration/outputs/painless_update_spec.rb
|
207
|
+
- spec/integration/outputs/no_es_on_startup_spec.rb
|
208
|
+
- spec/integration/outputs/index_spec.rb
|
209
|
+
- spec/integration/outputs/ilm_spec.rb
|
210
|
+
- spec/es_spec_helper.rb
|
211
|
+
- spec/support/elasticsearch/api/actions/put_alias.rb
|
212
|
+
- spec/support/elasticsearch/api/actions/put_ilm_policy.rb
|
213
|
+
- spec/support/elasticsearch/api/actions/get_alias.rb
|
214
|
+
- spec/support/elasticsearch/api/actions/delete_ilm_policy.rb
|
215
|
+
- spec/support/elasticsearch/api/actions/get_ilm_policy.rb
|
216
|
+
- logstash-output-elasticsearch.gemspec
|
217
|
+
- CHANGELOG.md
|
218
|
+
- README.md
|
219
|
+
- CONTRIBUTORS
|
220
|
+
- Gemfile
|
221
|
+
- LICENSE
|
222
|
+
- NOTICE.TXT
|
223
|
+
- docs/index.asciidoc
|
224
|
+
homepage: http://logstash.net/
|
225
|
+
licenses:
|
226
|
+
- ''
|
227
|
+
metadata:
|
228
|
+
logstash_plugin: 'true'
|
229
|
+
logstash_group: output
|
230
|
+
post_install_message:
|
231
|
+
rdoc_options: []
|
232
|
+
require_paths:
|
233
|
+
- lib
|
234
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - '>='
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: '0'
|
239
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - '>='
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
requirements: []
|
245
|
+
rubyforge_project:
|
246
|
+
rubygems_version: 2.0.14.1
|
247
|
+
signing_key:
|
248
|
+
specification_version: 4
|
249
|
+
summary: Stores logs in Elasticsearch
|
250
|
+
test_files:
|
251
|
+
- spec/fixtures/template-with-policy-es6x.json
|
252
|
+
- spec/fixtures/template-with-policy-es7x.json
|
253
|
+
- spec/fixtures/nginx_reverse_proxy.conf
|
254
|
+
- spec/fixtures/test_certs/test.crt
|
255
|
+
- spec/fixtures/test_certs/test.key
|
256
|
+
- spec/fixtures/test_certs/ca/ca.crt
|
257
|
+
- spec/fixtures/test_certs/ca/ca.key
|
258
|
+
- spec/fixtures/scripts/groovy/scripted_upsert.groovy
|
259
|
+
- spec/fixtures/scripts/groovy/scripted_update.groovy
|
260
|
+
- spec/fixtures/scripts/groovy/scripted_update_nested.groovy
|
261
|
+
- spec/fixtures/scripts/painless/scripted_update.painless
|
262
|
+
- spec/fixtures/scripts/painless/scripted_update_nested.painless
|
263
|
+
- spec/fixtures/scripts/painless/scripted_upsert.painless
|
264
|
+
- spec/fixtures/htpasswd
|
265
|
+
- spec/fixtures/_nodes/2x_1x.json
|
266
|
+
- spec/fixtures/_nodes/5x_6x.json
|
267
|
+
- spec/fixtures/_nodes/7x.json
|
268
|
+
- spec/unit/http_client_builder_spec.rb
|
269
|
+
- spec/unit/outputs/elasticsearch_proxy_spec.rb
|
270
|
+
- spec/unit/outputs/elasticsearch_ssl_spec.rb
|
271
|
+
- spec/unit/outputs/elasticsearch_spec.rb
|
272
|
+
- spec/unit/outputs/error_whitelist_spec.rb
|
273
|
+
- spec/unit/outputs/elasticsearch/http_client_spec.rb
|
274
|
+
- spec/unit/outputs/elasticsearch/template_manager_spec.rb
|
275
|
+
- spec/unit/outputs/elasticsearch/http_client/manticore_adapter_spec.rb
|
276
|
+
- spec/unit/outputs/elasticsearch/http_client/pool_spec.rb
|
277
|
+
- spec/integration/outputs/index_version_spec.rb
|
278
|
+
- spec/integration/outputs/routing_spec.rb
|
279
|
+
- spec/integration/outputs/metrics_spec.rb
|
280
|
+
- spec/integration/outputs/retry_spec.rb
|
281
|
+
- spec/integration/outputs/parent_spec.rb
|
282
|
+
- spec/integration/outputs/groovy_update_spec.rb
|
283
|
+
- spec/integration/outputs/delete_spec.rb
|
284
|
+
- spec/integration/outputs/templates_spec.rb
|
285
|
+
- spec/integration/outputs/update_spec.rb
|
286
|
+
- spec/integration/outputs/sniffer_spec.rb
|
287
|
+
- spec/integration/outputs/create_spec.rb
|
288
|
+
- spec/integration/outputs/templates_5x_spec.rb
|
289
|
+
- spec/integration/outputs/compressed_indexing_spec.rb
|
290
|
+
- spec/integration/outputs/ingest_pipeline_spec.rb
|
291
|
+
- spec/integration/outputs/painless_update_spec.rb
|
292
|
+
- spec/integration/outputs/no_es_on_startup_spec.rb
|
293
|
+
- spec/integration/outputs/index_spec.rb
|
294
|
+
- spec/integration/outputs/ilm_spec.rb
|
295
|
+
- spec/es_spec_helper.rb
|
296
|
+
- spec/support/elasticsearch/api/actions/put_alias.rb
|
297
|
+
- spec/support/elasticsearch/api/actions/put_ilm_policy.rb
|
298
|
+
- spec/support/elasticsearch/api/actions/get_alias.rb
|
299
|
+
- spec/support/elasticsearch/api/actions/delete_ilm_policy.rb
|
300
|
+
- spec/support/elasticsearch/api/actions/get_ilm_policy.rb
|