logstash-input-beats 6.0.13-java → 6.0.14-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: ef7779105775e36517acd284df5cbb37c939bd8b0efd65e4a3ffb666800e4c6a
4
- data.tar.gz: f9d9e7d95f1bcae77c92bff84eb8c80b74abc8065e4ebcec602104aac08ce029
3
+ metadata.gz: 0ec93da85b086cb8e7fe2eefe53e269c655126c648331cb8f72281d1624ae5aa
4
+ data.tar.gz: 2703e9a2e56bcc8a84dea0b4af6ca1e0e995549e90af4560623391e3e14175d7
5
5
  SHA512:
6
- metadata.gz: 5d0894f99926e28eead2857c4f3290b6bc2e59595b305c7feb5c4fb331d54267030eb3791bbff0c6838103528161a64f02d41f4ce9345dd500e58b3a3723219b
7
- data.tar.gz: ce4d2455d86c6f1d40d92d9e476ca942bd92ca156fdc764ecf8941716295c0038ec799004da6c7f7e7d626e2aabd5e96d5555a80c0de5386cf885d4cec930240
6
+ metadata.gz: 0d37e6667ec29cc50863829ef642c7c0fc4ee74e6b1f58692d2fb48a9aa14d1a09b39c9af465805ea6ca9ff28b79669b5f28a3be46ece738addf9d0d4d66cc3f
7
+ data.tar.gz: 558562bd9430ea81cb576aaa0ef71d6d4644858af3d509359786a1aa6921d3bef2b218dc700ab6391c38b8ceaaa46d9871a87a51e648286beb6ccd55dca047e4
@@ -1,3 +1,6 @@
1
+ ## 6.0.14
2
+ - Feat: log + unwrap generic SSL context exceptions [#405](https://github.com/logstash-plugins/logstash-input-beats/pull/405)
3
+
1
4
  ## 6.0.13
2
5
  - [DOC] Update links to use shared attributes
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.0.13
1
+ 6.0.14
@@ -8,4 +8,4 @@ require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.9.10')
8
8
  require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.9.10.4')
9
9
  require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.9.10')
10
10
  require_jar('org.apache.logging.log4j', 'log4j-api', '2.11.1')
11
- require_jar('org.logstash.beats', 'logstash-input-beats', '6.0.13')
11
+ require_jar('org.logstash.beats', 'logstash-input-beats', '6.0.14')
@@ -220,7 +220,7 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
220
220
  rescue java.lang.IllegalArgumentException => e
221
221
  @logger.error("SSL configuration invalid", error_details(e))
222
222
  raise LogStash::ConfigurationError, e
223
- rescue java.security.GeneralSecurityException => e
223
+ rescue java.lang.Exception => e # java.security.GeneralSecurityException
224
224
  @logger.error("SSL configuration failed", error_details(e, true))
225
225
  raise e
226
226
  end
@@ -254,6 +254,11 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
254
254
  def error_details(e, trace = false)
255
255
  error_details = { :exception => e.class, :message => e.message }
256
256
  error_details[:backtrace] = e.backtrace if trace || @logger.debug?
257
+ cause = e.cause
258
+ if cause && e != cause
259
+ error_details[:cause] = { :exception => cause.class, :message => cause.message }
260
+ error_details[:cause][:backtrace] = cause.backtrace if trace || @logger.debug?
261
+ end
257
262
  error_details
258
263
  end
259
264
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-beats
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.13
4
+ version: 6.0.14
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-15 00:00:00.000000000 Z
11
+ date: 2021-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -271,7 +271,7 @@ files:
271
271
  - vendor/jar-dependencies/io/netty/netty-all/4.1.49.Final/netty-all-4.1.49.Final.jar
272
272
  - vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar
273
273
  - vendor/jar-dependencies/org/javassist/javassist/3.24.0-GA/javassist-3.24.0-GA.jar
274
- - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/6.0.13/logstash-input-beats-6.0.13.jar
274
+ - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/6.0.14/logstash-input-beats-6.0.14.jar
275
275
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
276
276
  licenses:
277
277
  - Apache License (2.0)