logstash-output-elasticsearch 11.3.3-java → 11.5.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/Gemfile +2 -1
  4. data/docs/index.asciidoc +21 -3
  5. data/lib/logstash/outputs/elasticsearch/http_client.rb +2 -2
  6. data/lib/logstash/outputs/elasticsearch/http_client_builder.rb +8 -6
  7. data/lib/logstash/outputs/elasticsearch/templates/ecs-v1/elasticsearch-7x.json +2196 -288
  8. data/lib/logstash/outputs/elasticsearch/templates/ecs-v1/elasticsearch-8x.json +2196 -288
  9. data/lib/logstash/outputs/elasticsearch/templates/ecs-v8/elasticsearch-7x.json +1 -1
  10. data/lib/logstash/outputs/elasticsearch/templates/ecs-v8/elasticsearch-8x.json +1 -1
  11. data/lib/logstash/plugin_mixins/elasticsearch/api_configs.rb +2 -0
  12. data/logstash-output-elasticsearch.gemspec +2 -3
  13. data/spec/es_spec_helper.rb +5 -1
  14. data/spec/fixtures/test_certs/{ca/ca.crt → ca.crt} +0 -0
  15. data/spec/fixtures/test_certs/{ca/ca.key → ca.key} +0 -0
  16. data/spec/fixtures/test_certs/test.p12 +0 -0
  17. data/spec/fixtures/test_certs/test_invalid.crt +36 -0
  18. data/spec/fixtures/test_certs/test_invalid.key +51 -0
  19. data/spec/fixtures/test_certs/test_invalid.p12 +0 -0
  20. data/spec/fixtures/test_certs/test_self_signed.crt +32 -0
  21. data/spec/fixtures/test_certs/test_self_signed.key +54 -0
  22. data/spec/fixtures/test_certs/test_self_signed.p12 +0 -0
  23. data/spec/integration/outputs/ilm_spec.rb +2 -1
  24. data/spec/integration/outputs/index_spec.rb +143 -48
  25. data/spec/integration/outputs/ingest_pipeline_spec.rb +2 -1
  26. data/spec/integration/outputs/no_es_on_startup_spec.rb +12 -6
  27. data/spec/integration/outputs/retry_spec.rb +2 -1
  28. data/spec/unit/outputs/elasticsearch_ssl_spec.rb +1 -1
  29. metadata +22 -8
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.3.3
4
+ version: 11.5.0
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-27 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.7.1
18
+ version: 0.8.0
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 1.0.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.7.1
29
+ version: 0.8.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
@@ -244,10 +244,17 @@ files:
244
244
  - spec/fixtures/template-with-policy-es6x.json
245
245
  - spec/fixtures/template-with-policy-es7x.json
246
246
  - spec/fixtures/template-with-policy-es8x.json
247
- - spec/fixtures/test_certs/ca/ca.crt
248
- - spec/fixtures/test_certs/ca/ca.key
247
+ - spec/fixtures/test_certs/ca.crt
248
+ - spec/fixtures/test_certs/ca.key
249
249
  - spec/fixtures/test_certs/test.crt
250
250
  - spec/fixtures/test_certs/test.key
251
+ - spec/fixtures/test_certs/test.p12
252
+ - spec/fixtures/test_certs/test_invalid.crt
253
+ - spec/fixtures/test_certs/test_invalid.key
254
+ - spec/fixtures/test_certs/test_invalid.p12
255
+ - spec/fixtures/test_certs/test_self_signed.crt
256
+ - spec/fixtures/test_certs/test_self_signed.key
257
+ - spec/fixtures/test_certs/test_self_signed.p12
251
258
  - spec/integration/outputs/compressed_indexing_spec.rb
252
259
  - spec/integration/outputs/create_spec.rb
253
260
  - spec/integration/outputs/data_stream_spec.rb
@@ -319,10 +326,17 @@ test_files:
319
326
  - spec/fixtures/template-with-policy-es6x.json
320
327
  - spec/fixtures/template-with-policy-es7x.json
321
328
  - spec/fixtures/template-with-policy-es8x.json
322
- - spec/fixtures/test_certs/ca/ca.crt
323
- - spec/fixtures/test_certs/ca/ca.key
329
+ - spec/fixtures/test_certs/ca.crt
330
+ - spec/fixtures/test_certs/ca.key
324
331
  - spec/fixtures/test_certs/test.crt
325
332
  - spec/fixtures/test_certs/test.key
333
+ - spec/fixtures/test_certs/test.p12
334
+ - spec/fixtures/test_certs/test_invalid.crt
335
+ - spec/fixtures/test_certs/test_invalid.key
336
+ - spec/fixtures/test_certs/test_invalid.p12
337
+ - spec/fixtures/test_certs/test_self_signed.crt
338
+ - spec/fixtures/test_certs/test_self_signed.key
339
+ - spec/fixtures/test_certs/test_self_signed.p12
326
340
  - spec/integration/outputs/compressed_indexing_spec.rb
327
341
  - spec/integration/outputs/create_spec.rb
328
342
  - spec/integration/outputs/data_stream_spec.rb