logstash-output-elasticsearch 11.22.13-java → 11.22.14-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: 0e75623d800d992610e94df0ba34b7d257e66a72fa8f1803998b78ffc6ab615b
|
|
4
|
+
data.tar.gz: 0f38696e6980c161b1575a8625f44559ee7938d031ec89d653fd16e7c58434fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 444924d56d73f8f60612d4919c9e29391441a8d58ee7039b512f856c8eb31903f1e43ecd5818712e1aadc85f7f22cb9590d8f8fc98ffec86eca5c2c7d78a07c9
|
|
7
|
+
data.tar.gz: ff357b4c86f4cefaf0bb2c2d591e0e9730191224c54ab7f98e5695e0f6601dc7d7423240930979751808250cc93368ccce29eb918b893ef65d4a40e6cf490425
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 11.22.14
|
|
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
|
+
|
|
1
4
|
## 11.22.13
|
|
2
5
|
- Add headers reporting uncompressed size and doc count for bulk requests [#1217](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1217)
|
|
3
6
|
|
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-output-elasticsearch'
|
|
3
|
-
s.version = '11.22.
|
|
3
|
+
s.version = '11.22.14'
|
|
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"
|
|
@@ -5,7 +5,10 @@ describe "metrics", :integration => true do
|
|
|
5
5
|
require "logstash/outputs/elasticsearch"
|
|
6
6
|
settings = {
|
|
7
7
|
"manage_template" => false,
|
|
8
|
-
"hosts" => "#{get_host_port()}"
|
|
8
|
+
"hosts" => "#{get_host_port()}",
|
|
9
|
+
# write data to a random non templated index to ensure the bulk partially fails
|
|
10
|
+
# don't use streams like "logs-*" as those have failure stores enabled, causing the bulk to succeed instead
|
|
11
|
+
"index" => "custom_index_#{rand(10000)}"
|
|
9
12
|
}
|
|
10
13
|
plugin = LogStash::Outputs::ElasticSearch.new(settings)
|
|
11
14
|
end
|
|
@@ -1557,7 +1557,7 @@ describe LogStash::Outputs::ElasticSearch do
|
|
|
1557
1557
|
expect( event ).to be_a LogStash::Event
|
|
1558
1558
|
expect( event ).to be events.first
|
|
1559
1559
|
expect( reason ).to start_with "Could not index event to Elasticsearch. status: #{error_code}, action: [\"index\""
|
|
1560
|
-
expect( reason ).to match /_id
|
|
1560
|
+
expect( reason ).to match /_id(?::| ?=>) ?"bar".*"foo" ?=> ?"bar".*response:.*"reason" ?=> ?"TEST"/
|
|
1561
1561
|
|
|
1562
1562
|
method.call(*args) # won't hurt to call LogStash::Util::DummyDeadLetterQueueWriter
|
|
1563
1563
|
end.once
|
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.22.
|
|
4
|
+
version: 11.22.14
|
|
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: 2026-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|