logstash-output-elasticsearch 11.15.7-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: af8e8cfe5c9fa5cf8f363ab815476c526a7933735eb857e2d3976136c9c0193c
4
- data.tar.gz: 8a15434d71177085ed47a7ee9664d3f0e26d4b57f89f4108342a04634c2b3fa1
3
+ metadata.gz: c9e537b9f31644ce80834b295b99d22566863f666ab319efc34f641c15018d74
4
+ data.tar.gz: a99f63dd55f4b0a12e597e812db124dd9a7fe82ce1a5e7af4057992f903eac65
5
5
  SHA512:
6
- metadata.gz: 6cf6cff9c48ed0a7ea9e6662b4cd02c370a9f6ece098754cb23f3e40aa4e52c33b678acd53594a48bdb47835623bfd8d5d357f20c99abf9b20e5b20cab1818bf
7
- data.tar.gz: 62cd5bd83d381bd89d17bdbb9542b27285e60a09de6dfa09ac9e937b32e594e28833b8faa252b41b8ed4dd4a0dc91c91729ad31a56c25318704cb58d0e978bf1
6
+ metadata.gz: 12fa3b203130210b5d274364ff97e31bfb01aaedd23ac22fc53fea1626cad628d3f33e952dcf12555fc4860d7577235684e255550dfc7668d9dc93d7e6bf55ff
7
+ data.tar.gz: 50ca989af2afc85f439995c6dde9c7eeda56924c9d9729ef91426b34dc99146fadecf3e290dc7e122113bb2cbf50bdc1eeac22f8448d2d4373b0d251660fb6a7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 11.15.9
2
+ - allow dlq_ settings when using data streams [#1144](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1144)
3
+
4
+ ## 11.15.8
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)
6
+
1
7
  ## 11.15.7
2
8
  - Fixes a regression introduced in 11.14.0 which could prevent a connection from being established to Elasticsearch in some SSL configurations [#1138](https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/1138)
3
9
 
@@ -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
@@ -283,11 +275,10 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base
283
275
  def initialize(*params)
284
276
  super
285
277
  setup_ecs_compatibility_related_defaults
278
+ setup_ssl_params!
286
279
  end
287
280
 
288
281
  def register
289
- setup_ssl_params!
290
-
291
282
  if !failure_type_logging_whitelist.empty?
292
283
  log_message = "'failure_type_logging_whitelist' is deprecated and in a future version of Elasticsearch " +
293
284
  "output plugin will be removed, please use 'silence_errors_in_log' instead."
@@ -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.7'
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.7
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-01 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