logstash-output-elasticsearch 12.1.0-java → 12.1.2-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: 59124c8f411f8bcb4742b43cc81cc075676732feef3275eac6898e3bf2341021
|
|
4
|
+
data.tar.gz: 26a524985bbf66a83b19807b6ebcb9fab824b3172a1718c1cedd85cc8f142be6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9afff55af20a6b184a5ec912b8f96387bf3310b4de884972a3e98b7146bf2873b4a60e18f6781692cfa4c92c99fd25ef6da9ccc8a0ea4391c70eb41e81a9b5c
|
|
7
|
+
data.tar.gz: 1599a3d08006c0ca14c7b671eea25772aeb0f6b419682ac5d6ee030fd2dfda2aef34a68dea12cd30e6f0643260b81e360063f28b46278ccb2b4be2232dfe1b1b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 12.1.2
|
|
2
|
+
- Fix: replace deprecated `File.exists?` with `File.exist?` for Ruby 3.4 (JRuby 10) compatibility [#1238](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1238)
|
|
3
|
+
|
|
4
|
+
## 12.1.1
|
|
5
|
+
- Remove duplicated deprecation log entry [#1232](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1232)
|
|
6
|
+
|
|
1
7
|
## 12.1.0
|
|
2
8
|
- Add drop_error_types config option to not retry after certain error types [#1228](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1228)
|
|
3
9
|
|
|
@@ -99,7 +99,7 @@ module LogStash; module Outputs; class ElasticSearch
|
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
def self.read_template_file(template_path)
|
|
102
|
-
raise LogStash::ConfigurationError, "Template file '#{template_path}' could not be found" unless ::File.
|
|
102
|
+
raise LogStash::ConfigurationError, "Template file '#{template_path}' could not be found" unless ::File.exist?(template_path)
|
|
103
103
|
template_data = ::IO.read(template_path)
|
|
104
104
|
LogStash::Json.load(template_data)
|
|
105
105
|
rescue => e
|
|
@@ -259,7 +259,6 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base
|
|
|
259
259
|
log_message = "'failure_type_logging_whitelist' is deprecated and in a future version of Elasticsearch " +
|
|
260
260
|
"output plugin will be removed, please use 'silence_errors_in_log' instead."
|
|
261
261
|
@deprecation_logger.deprecated log_message
|
|
262
|
-
@logger.warn log_message
|
|
263
262
|
@silence_errors_in_log = silence_errors_in_log | failure_type_logging_whitelist
|
|
264
263
|
end
|
|
265
264
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-output-elasticsearch'
|
|
3
|
-
s.version = '12.1.
|
|
3
|
+
s.version = '12.1.2'
|
|
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"
|
|
@@ -331,7 +331,8 @@ describe LogStash::Outputs::ElasticSearch::HttpClient::Pool do
|
|
|
331
331
|
|
|
332
332
|
expect(subject.url_meta(u)[:state]).to eql(:dead)
|
|
333
333
|
sleep subject.resurrect_delay + 1
|
|
334
|
-
|
|
334
|
+
# try a few times with exponential backoff as timing is not 100% guaranteed during CI execution.
|
|
335
|
+
try(10) { expect(subject.url_meta(u)[:state]).to eql(:alive) }
|
|
335
336
|
end
|
|
336
337
|
end
|
|
337
338
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-output-elasticsearch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 12.1.
|
|
4
|
+
version: 12.1.2
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 2026-02-11 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: manticore
|