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: d6658ce0c72fc994e737d823dc03e53abf84d00c2692450173684fa9fc8a5865
4
- data.tar.gz: 466cc891690d71b25df8992e93c7df1b64a09ab68b8e109fe4c4e8cf0faf25dc
3
+ metadata.gz: 3f3f97949dede5ce24e127df3a0cf4c809f1436d1ff34831cea6d0b873784968
4
+ data.tar.gz: cadc8d310da90f1cc853b24734520859101cd787efe29b5371394248303999f9
5
5
  SHA512:
6
- metadata.gz: 8116f03d6cd876a5e6997c07e3a12119c667e30061ca44bd8cdb70987d75659f4cd02bdb6bce15413c4e5c2d7fdac639aa10f95142006e85dcf2e9d248eedc85
7
- data.tar.gz: 67a56fc6ea82742bbc2605fb09708f017d199fb39a1b59015ccd4b5ffdd8fd9a917dde68d7f2ff23448ef78eb4006af40e1521a8c754d0d38ace29a0a267109b
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 `document_already_exists_exception`.
991
+ which are `version_conflict_engine_exception`.
992
992
 
993
993
  [source,ruby]
994
994
  output {
995
995
  elasticsearch {
996
- silence_errors_in_log => ["document_already_exists_exception"]
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 `document_already_exists_exception`.
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.0'
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" => "document_already_exists_exception",
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" => ["document_already_exists_exception"]) }
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.0
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-08 00:00:00.000000000 Z
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