logstash-output-elasticsearch 11.3.3-java → 11.4.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '11.3.3'
3
+ s.version = '11.4.0'
4
4
 
5
5
  s.licenses = ['apache-2.0']
6
6
  s.summary = "Stores logs in Elasticsearch"
@@ -59,7 +59,11 @@ module ESHelper
59
59
  end
60
60
 
61
61
  def self.es_version
62
- RSpec.configuration.filter[:es_version] || ENV['ES_VERSION'] || ENV['ELASTIC_STACK_VERSION']
62
+ [
63
+ nilify(RSpec.configuration.filter[:es_version]),
64
+ nilify(ENV['ES_VERSION']),
65
+ nilify(ENV['ELASTIC_STACK_VERSION']),
66
+ ].compact.first
63
67
  end
64
68
 
65
69
  RSpec::Matchers.define :have_hits do |expected|
@@ -236,7 +236,8 @@ describe 'Elasticsearch has index lifecycle management enabled', :integration =>
236
236
  let (:settings) {
237
237
  {
238
238
  "ilm_enabled" => ilm_enabled,
239
- "hosts" => "#{get_host_port()}"
239
+ "hosts" => "#{get_host_port()}",
240
+ "ecs_compatibility" => "disabled", # specs are tightly tied to non-ECS defaults
240
241
  }
241
242
  }
242
243
  let (:small_max_doc_policy) { max_docs_policy(3) }
@@ -6,7 +6,8 @@ describe "Ingest pipeline execution behavior", :integration => true do
6
6
  settings = {
7
7
  "hosts" => "#{get_host_port()}",
8
8
  "pipeline" => "apache-logs",
9
- "data_stream" => 'false'
9
+ "data_stream" => 'false',
10
+ "ecs_compatibility" => "disabled", # specs are tightly tied to non-ECS defaults
10
11
  }
11
12
  next LogStash::Outputs::ElasticSearch.new(settings)
12
13
  end
@@ -45,7 +45,8 @@ describe "failures in bulk class expected behavior", :integration => true do
45
45
  "template_overwrite" => true,
46
46
  "hosts" => get_host_port(),
47
47
  "retry_max_interval" => 64,
48
- "retry_initial_interval" => 2
48
+ "retry_initial_interval" => 2,
49
+ "ecs_compatibility" => "disabled", # specs are tightly tied to non-ECS defaults
49
50
  }
50
51
  next LogStash::Outputs::ElasticSearch.new(settings)
51
52
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.4.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-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement