logstash-filter-exceptioncategory 0.1.78 → 0.1.79
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: a51047e08ab57a050b0136f258048cbac19c2148
|
4
|
+
data.tar.gz: 8a61e4263a6af535b4786c546ff65fdb10b6ae49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e75a5a7059032cf387da89fb724e808fc5d3d1b569af3b4e7f49288707533b160d520e9c1a9949359dfac49d5275e653ed12891ac922df7a9fdaf871bd8df64
|
7
|
+
data.tar.gz: 46d6484ae5462fea3c06eace429601c069160cfcbe8720ee7521b3aca1d870fb9c4b4faf69321ba41cd372ba93e380a37573729005cf69f68796c86ed3662610
|
@@ -30,10 +30,8 @@ class LogStash::Filters::ExceptionCategory < LogStash::Filters::Base
|
|
30
30
|
@logger.debug? && @logger.debug("Event received", :event => event)
|
31
31
|
@logger.debug? && @logger.debug("Event json", :event => event.to_json)
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
event_exception = event["SagaException"]["Exception"]["ExceptionType"]
|
36
|
-
end
|
33
|
+
unless event["SagaException"].nil?
|
34
|
+
event_exception = event["SagaException"]["Exception"]["ExceptionType"]
|
37
35
|
end
|
38
36
|
|
39
37
|
unless categories.key?(event_exception)
|
@@ -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.79'
|
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."
|