logstash-output-elasticsearch 11.9.3-java → 11.10.0-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: 6d02f6b7c9fca46bf86c64ad4dc6ec39f692899d30a069c9813a174be6b7436f
4
- data.tar.gz: b68bdafacbbfa03c1eb0968ca111141353a1911a328144c62e9810de9902995c
3
+ metadata.gz: 88cb9349aee0722c0f5c9b936257fa46a5954a9fc603d783e275206217a4f0af
4
+ data.tar.gz: f99d4aeed3b63a3c320ae058c1a3842dcedfee54f4064387cc61836396040220
5
5
  SHA512:
6
- metadata.gz: 2fef1eeb91cb331f340b36bbd76778f16dc1baedb3d550683b2ea2a8c454b1f87c65847b44ba9ae1323d9a413fe7610c510415d275a56a84c7ea743b9dbbfb23
7
- data.tar.gz: 897c6b6d949c1fa5674faa745d4646c035058cc7ac84f58e69f0f1fe375f3374af8f07cce54ee534c6c2d2804ca6e87f8472d5b96cff0b8b1a38fc1009135fdb
6
+ metadata.gz: 98bcaa84acaa9ebcf13f8a6c64c9d40e220838adf5e321fcf198ff1a51ad016855172b119e4003c7fb13c204c156c77cf10d6a01f7fc574e8c4b20a0284f4391
7
+ data.tar.gz: 75827edd0dca20dd1e534e2abd3f4b1bf4e2174865d1fcdc677b24131c28a490267989f48ded95587af103a38486b6d524da1c81ce41f44ad347dcd6b40cedb0
data/CHANGELOG.md CHANGED
@@ -1,8 +1,11 @@
1
+ ## 11.10.0
2
+ - Feature: expose `dlq_routed` document metric to track the documents routed into DLQ [#1090](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1090)
3
+
1
4
  ## 11.9.3
2
5
  - DOC: clarify that `http_compression` option only affects _requests_; compressed _responses_ have always been read independent of this setting [#1030 ](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1030)
3
6
 
4
7
  ## 11.9.2
5
- - Fix broken link to Logstash Reference [#1085](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1085)
8
+ - Fix broken link to Logstash Reference [#1085](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1085)
6
9
 
7
10
  ## 11.9.1
8
11
  - Fixes a possible infinite-retry-loop that could occur when this plugin is configured with an `action` whose value contains a [sprintf-style placeholder][] that fails to be resolved for an individual event. Events in this state will be routed to the pipeline's [dead letter queue][DLQ] if it is available, or will be logged-and-dropped so that the remaining events in the batch can be processed [#1080](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1080)
@@ -273,7 +273,7 @@ module LogStash; module PluginMixins; module ElasticSearch
273
273
  next
274
274
  elsif @dlq_codes.include?(status)
275
275
  handle_dlq_response("Could not index event to Elasticsearch.", action, status, response)
276
- @document_level_metrics.increment(:non_retryable_failures)
276
+ @document_level_metrics.increment(:dlq_routed)
277
277
  next
278
278
  else
279
279
  # only log what the user whitelisted
@@ -1,7 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '11.9.3'
4
-
3
+ s.version = '11.10.0'
5
4
  s.licenses = ['apache-2.0']
6
5
  s.summary = "Stores logs in Elasticsearch"
7
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"
@@ -58,7 +58,7 @@ describe "metrics", :integration => true do
58
58
  end
59
59
 
60
60
  it "increases number of successful and non retryable documents" do
61
- expect(document_level_metrics).to receive(:increment).with(:non_retryable_failures).once
61
+ expect(document_level_metrics).to receive(:increment).with(:dlq_routed).once
62
62
  expect(document_level_metrics).to receive(:increment).with(:successes).once
63
63
  subject.multi_receive(bulk)
64
64
  end
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.9.3
4
+ version: 11.10.0
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-04 00:00:00.000000000 Z
11
+ date: 2022-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement