logstash-filter-exceptioncategory 0.1.85 → 0.1.86

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
  SHA1:
3
- metadata.gz: c63e1862dfabbc919cfbf381a526e0ea8ba3a60f
4
- data.tar.gz: aac346cee220f71392a3ea6a6901f476bd2fba1a
3
+ metadata.gz: f8df8ed7e1264ab0f28d20a12574ce5be393d4cd
4
+ data.tar.gz: b0c3157a9b586a733198fd219520eeb815d86d0a
5
5
  SHA512:
6
- metadata.gz: b75947ba2d0e541b03d2552705df84684d2b0a5dfe13b5b19c7dfbd5fdd843ed2c06997ec20f6609ea9ce9ef3a5f6689cd8f8496ddc813f3f60daa33fad42e0d
7
- data.tar.gz: 618775f9bc318db0d63f2a6ed9d6260ab2212fcacbd0e44064993f8c2f333af39cefdc270a3519871cffc39ca2d2842d7a94d91df3583cba55ef77f6206f9637
6
+ metadata.gz: 7404c27c9adf21e1372f78f66c45c4c52cec5a9e37f651f2b11115748ff3e1525b6b16e9689d33faec90824ff5aa32645f8aeef9a9e99932143dec8a0c439830
7
+ data.tar.gz: 90a66ef7bcc2a09231218f87214b5983931f197b31621e0a3553f0ebba1ad32ab20403f8d03265964b95aad27cdf6a45b7f67519e5ccd41033e62ad48544a1a1
@@ -32,11 +32,10 @@ class LogStash::Filters::ExceptionCategory < LogStash::Filters::Base
32
32
  @logger.debug? && @logger.debug(event)
33
33
  if event.include?("SagaException_Exception_ExceptionType")
34
34
  event_exception = event["SagaException_Exception_ExceptionType"]
35
- else
35
+ elsif !event["SagaException"].nil?
36
36
  event_exception = event["SagaException"]["Exception"]["ExceptionType"]
37
37
  end
38
38
 
39
-
40
39
  unless categories.key?(event_exception)
41
40
  event_exception = event["Title"]
42
41
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'logstash-filter-exceptioncategory'
5
- s.version = '0.1.85'
5
+ s.version = '0.1.86'
6
6
  s.licenses = ['Apache-2.0']
7
7
  s.summary = "Categorizes exceptions"
8
8
  s.description = "Fetches a remote json file which includes categorization of exceptions. Uses that categorization to attach a category to an event depending on which exception the event has."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-exceptioncategory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.85
4
+ version: 0.1.86
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ragnar Adolf Árnason