logstash-output-elasticsearch 11.15.6-java → 11.15.8-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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bb58daa99ebcc9d9fd9f09c7498950e59886f4f689a7ee45934235c12301b1a
|
4
|
+
data.tar.gz: e29e0554644ca402451d3a1db2c4016873ad59c7448cb599fa4159fa74b55d53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 398bbe4049618646f2aa8c7d552bdb7bc24c60565055b53d2abf3ba02e95fab32a9ff222bcabec39fd9640f8b220a578095632f57032db3f2559c2d0168077ed
|
7
|
+
data.tar.gz: 5474ff6d0cb6fecb1d69b67fcf75f20c1e8ffbe967565af5e47e9b1fda396ecd27c41f244145b28e0cc5863b6008fa305a24ca2edeed04ece378adfaaf42dab8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 11.15.8
|
2
|
+
- Fixes a regression introduced in 11.14.0 which could prevent Logstash 8.8 from establishing a connection to Elasticsearch for Central Management and Monitoring core features [#1141](https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/1141)
|
3
|
+
|
4
|
+
## 11.15.7
|
5
|
+
- Fixes a regression introduced in 11.14.0 which could prevent a connection from being established to Elasticsearch in some SSL configurations [#1138](https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/1138)
|
6
|
+
|
1
7
|
## 11.15.6
|
2
8
|
- Fix: avoid to reject a batch when the Elasticsearch connection is alive and the processing should continue [#1132](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1132).
|
3
9
|
|
@@ -144,12 +144,14 @@ module LogStash; module Outputs; class ElasticSearch;
|
|
144
144
|
ssl_verification_mode = params["ssl_verification_mode"]
|
145
145
|
unless ssl_verification_mode.nil?
|
146
146
|
case ssl_verification_mode
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
147
|
+
when 'none'
|
148
|
+
logger.warn "You have enabled encryption but DISABLED certificate verification, " +
|
149
|
+
"to make sure your data is secure set `ssl_verification_mode => full`"
|
150
|
+
ssl_options[:verify] = :disable
|
151
|
+
else
|
152
|
+
# Manticore's :default maps to Apache HTTP Client's DefaultHostnameVerifier,
|
153
|
+
# which is the modern STRICT verifier that replaces the deprecated StrictHostnameVerifier
|
154
|
+
ssl_options[:verify] = :default
|
153
155
|
end
|
154
156
|
end
|
155
157
|
|
@@ -283,11 +283,10 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base
|
|
283
283
|
def initialize(*params)
|
284
284
|
super
|
285
285
|
setup_ecs_compatibility_related_defaults
|
286
|
+
setup_ssl_params!
|
286
287
|
end
|
287
288
|
|
288
289
|
def register
|
289
|
-
setup_ssl_params!
|
290
|
-
|
291
290
|
if !failure_type_logging_whitelist.empty?
|
292
291
|
log_message = "'failure_type_logging_whitelist' is deprecated and in a future version of Elasticsearch " +
|
293
292
|
"output plugin will be removed, please use 'silence_errors_in_log' instead."
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-elasticsearch'
|
3
|
-
s.version = '11.15.
|
3
|
+
s.version = '11.15.8'
|
4
4
|
s.licenses = ['apache-2.0']
|
5
5
|
s.summary = "Stores logs in Elasticsearch"
|
6
6
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
@@ -55,7 +55,7 @@ describe "SSL options" do
|
|
55
55
|
|
56
56
|
it "should pass the flag to the ES client" do
|
57
57
|
expect(::Manticore::Client).to receive(:new) do |args|
|
58
|
-
expect(args[:ssl]).to match hash_including(:enabled => true, :verify => :
|
58
|
+
expect(args[:ssl]).to match hash_including(:enabled => true, :verify => :default)
|
59
59
|
end.and_return(manticore_double)
|
60
60
|
|
61
61
|
subject.register
|
@@ -132,7 +132,7 @@ describe "SSL options" do
|
|
132
132
|
:truststore => ssl_truststore_path,
|
133
133
|
:truststore_type => "jks",
|
134
134
|
:truststore_password => "foo",
|
135
|
-
:verify => :
|
135
|
+
:verify => :default,
|
136
136
|
:cipher_suites => ["TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"],
|
137
137
|
:protocols => ["TLSv1.3"],
|
138
138
|
)
|
@@ -168,7 +168,7 @@ describe "SSL options" do
|
|
168
168
|
:ca_file => ssl_certificate_authorities_path,
|
169
169
|
:client_cert => ssl_certificate_path,
|
170
170
|
:client_key => ssl_key_path,
|
171
|
-
:verify => :
|
171
|
+
:verify => :default,
|
172
172
|
:cipher_suites => ["TLS_DHE_RSA_WITH_AES_256_CBC_SHA256"],
|
173
173
|
:protocols => ["TLSv1.3"],
|
174
174
|
)
|
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.15.
|
4
|
+
version: 11.15.8
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|