logstash-output-elasticsearch 11.15.8-java → 11.15.9-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: 0bb58daa99ebcc9d9fd9f09c7498950e59886f4f689a7ee45934235c12301b1a
4
- data.tar.gz: e29e0554644ca402451d3a1db2c4016873ad59c7448cb599fa4159fa74b55d53
3
+ metadata.gz: c9e537b9f31644ce80834b295b99d22566863f666ab319efc34f641c15018d74
4
+ data.tar.gz: a99f63dd55f4b0a12e597e812db124dd9a7fe82ce1a5e7af4057992f903eac65
5
5
  SHA512:
6
- metadata.gz: 398bbe4049618646f2aa8c7d552bdb7bc24c60565055b53d2abf3ba02e95fab32a9ff222bcabec39fd9640f8b220a578095632f57032db3f2559c2d0168077ed
7
- data.tar.gz: 5474ff6d0cb6fecb1d69b67fcf75f20c1e8ffbe967565af5e47e9b1fda396ecd27c41f244145b28e0cc5863b6008fa305a24ca2edeed04ece378adfaaf42dab8
6
+ metadata.gz: 12fa3b203130210b5d274364ff97e31bfb01aaedd23ac22fc53fea1626cad628d3f33e952dcf12555fc4860d7577235684e255550dfc7668d9dc93d7e6bf55ff
7
+ data.tar.gz: 50ca989af2afc85f439995c6dde9c7eeda56924c9d9729ef91426b34dc99146fadecf3e290dc7e122113bb2cbf50bdc1eeac22f8448d2d4373b0d251660fb6a7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 11.15.9
2
+ - allow dlq_ settings when using data streams [#1144](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1144)
3
+
1
4
  ## 11.15.8
2
5
  - Fixes a regression introduced in 11.14.0 which could prevent Logstash 8.8 from establishing a connection to Elasticsearch for Central Management and Monitoring core features [#1141](https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/1141)
3
6
 
@@ -267,14 +267,6 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base
267
267
  # ILM policy to use, if undefined the default policy will be used.
268
268
  config :ilm_policy, :validate => :string, :default => DEFAULT_POLICY
269
269
 
270
- # List extra HTTP's error codes that are considered valid to move the events into the dead letter queue.
271
- # It's considered a configuration error to re-use the same predefined codes for success, DLQ or conflict.
272
- # The option accepts a list of natural numbers corresponding to HTTP errors codes.
273
- config :dlq_custom_codes, :validate => :number, :list => true, :default => []
274
-
275
- # if enabled, failed index name interpolation events go into dead letter queue.
276
- config :dlq_on_failed_indexname_interpolation, :validate => :boolean, :default => true
277
-
278
270
  attr_reader :client
279
271
  attr_reader :default_index
280
272
  attr_reader :default_ilm_rollover_alias
@@ -213,7 +213,15 @@ module LogStash; module PluginMixins; module ElasticSearch
213
213
  :retry_initial_interval => { :validate => :number, :default => 2 },
214
214
 
215
215
  # Set max interval in seconds between bulk retries.
216
- :retry_max_interval => { :validate => :number, :default => 64 }
216
+ :retry_max_interval => { :validate => :number, :default => 64 },
217
+
218
+ # List extra HTTP's error codes that are considered valid to move the events into the dead letter queue.
219
+ # It's considered a configuration error to re-use the same predefined codes for success, DLQ or conflict.
220
+ # The option accepts a list of natural numbers corresponding to HTTP errors codes.
221
+ :dlq_custom_codes => { :validate => :number, :list => true, :default => [] },
222
+
223
+ # if enabled, failed index name interpolation events go into dead letter queue.
224
+ :dlq_on_failed_indexname_interpolation => { :validate => :boolean, :default => true }
217
225
  }.freeze
218
226
 
219
227
  def self.included(base)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '11.15.8'
3
+ s.version = '11.15.9'
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"
@@ -164,7 +164,9 @@ describe LogStash::Outputs::ElasticSearch::DataStreamSupport do
164
164
  'data_stream_dataset' => 'any',
165
165
  'data_stream_namespace' => 'any',
166
166
  'data_stream_sync_fields' => true,
167
- 'data_stream_auto_routing' => true)
167
+ 'data_stream_auto_routing' => true,
168
+ 'dlq_custom_codes' => [ 404 ],
169
+ 'dlq_on_failed_indexname_interpolation' => false)
168
170
  }
169
171
 
170
172
  it 'should enable data-streams by default' do
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.15.8
4
+ version: 11.15.9
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-13 00:00:00.000000000 Z
11
+ date: 2023-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement