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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8df8ed7e1264ab0f28d20a12574ce5be393d4cd
|
4
|
+
data.tar.gz: b0c3157a9b586a733198fd219520eeb815d86d0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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.
|
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."
|