logstash-output-elasticsearch 11.3.3-java → 11.4.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/logstash/outputs/elasticsearch/templates/ecs-v1/elasticsearch-7x.json +2196 -288
- data/lib/logstash/outputs/elasticsearch/templates/ecs-v1/elasticsearch-8x.json +2196 -288
- data/logstash-output-elasticsearch.gemspec +1 -1
- data/spec/es_spec_helper.rb +5 -1
- data/spec/integration/outputs/ilm_spec.rb +2 -1
- data/spec/integration/outputs/ingest_pipeline_spec.rb +2 -1
- data/spec/integration/outputs/retry_spec.rb +2 -1
- metadata +2 -2
data/spec/es_spec_helper.rb
CHANGED
@@ -59,7 +59,11 @@ module ESHelper
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def self.es_version
|
62
|
-
|
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.
|
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:
|
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
|