logstash-output-elasticsearch 11.20.0-java → 11.20.1-java
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f3f97949dede5ce24e127df3a0cf4c809f1436d1ff34831cea6d0b873784968
|
4
|
+
data.tar.gz: cadc8d310da90f1cc853b24734520859101cd787efe29b5371394248303999f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ef570b20433e6b3d69c24c9e402c39aa59a9f5556cb8c03f5643be65a7800b1a66b744be3095d11fe640a262902506fa78a7a10c3ea5b6ce1dfa81da98ea4e9
|
7
|
+
data.tar.gz: c323b23e45dfa795df06fdd206134ba340c5745529c690543bf94cfdb81526306c415723bb7a9cba759df658f38cbe6b6c62a4e6d1bbc6d777b224da830e8613
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 11.20.1
|
2
|
+
- Doc: Replace `document_already_exist_exception` with `version_conflict_engine_exception` in the `silence_errors_in_log` setting example [#1159](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1159)
|
3
|
+
|
1
4
|
## 11.20.0
|
2
5
|
- Changed the register to initiate pipeline shutdown upon bootstrap failure instead of simply logging the error [#1151](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1151)
|
3
6
|
|
data/docs/index.asciidoc
CHANGED
@@ -988,12 +988,12 @@ if enabled, script is in charge of creating non-existent document (scripted upda
|
|
988
988
|
|
989
989
|
Defines the list of Elasticsearch errors that you don't want to log.
|
990
990
|
A useful example is when you want to skip all 409 errors
|
991
|
-
which are `
|
991
|
+
which are `version_conflict_engine_exception`.
|
992
992
|
|
993
993
|
[source,ruby]
|
994
994
|
output {
|
995
995
|
elasticsearch {
|
996
|
-
silence_errors_in_log => ["
|
996
|
+
silence_errors_in_log => ["version_conflict_engine_exception"]
|
997
997
|
}
|
998
998
|
}
|
999
999
|
|
@@ -149,7 +149,7 @@ module LogStash; module PluginMixins; module ElasticSearch
|
|
149
149
|
|
150
150
|
# Defines the list of Elasticsearch errors that you don't want to log.
|
151
151
|
# A useful example is when you want to skip all 409 errors
|
152
|
-
# which are `
|
152
|
+
# which are `version_conflict_engine_exception`.
|
153
153
|
# Deprecates `failure_type_logging_whitelist`.
|
154
154
|
:silence_errors_in_log => { :validate => :array, :default => [] },
|
155
155
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-elasticsearch'
|
3
|
-
s.version = '11.20.
|
3
|
+
s.version = '11.20.1'
|
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"
|
@@ -25,7 +25,7 @@ describe "whitelisting error types in expected behavior" do
|
|
25
25
|
"create" => {
|
26
26
|
"status" => 409,
|
27
27
|
"error" => {
|
28
|
-
"type" => "
|
28
|
+
"type" => "version_conflict_engine_exception",
|
29
29
|
"reason" => "[shard] document already exists"
|
30
30
|
}
|
31
31
|
}
|
@@ -46,7 +46,7 @@ describe "whitelisting error types in expected behavior" do
|
|
46
46
|
end
|
47
47
|
|
48
48
|
describe "when failure logging is disabled for document exists error" do
|
49
|
-
let(:settings) { super().merge("silence_errors_in_log" => ["
|
49
|
+
let(:settings) { super().merge("silence_errors_in_log" => ["version_conflict_engine_exception"]) }
|
50
50
|
|
51
51
|
it "should log a failure on the action" do
|
52
52
|
expect(subject.logger).not_to have_received(:warn).with("Failed action", anything)
|
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.20.
|
4
|
+
version: 11.20.1
|
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-
|
11
|
+
date: 2023-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|