logstash-filter-exceptioncategory 0.1.82 → 0.1.83
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: be9ea172b0a1f1914814f0ed99da8a183848fe21
|
4
|
+
data.tar.gz: cc72a317b7e9b78f59f70fe9e5e653b1d3f16314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 842f9a8d7d797380f460d07dfe0ee87a3f72c417fb4bbe49d50afce35d5cf77259d55505743f5c5c37d59aff0a2b495493cd7199b358f3844d4b6c4871096818
|
7
|
+
data.tar.gz: df57300b66c752519b731506480548773eac5c1c84fad3b71f16767c7a8beb914e88feedd881468dd15e401e11d6ac8d73cb317c97c52518aa750168db25b16c
|
@@ -28,7 +28,7 @@ class LogStash::Filters::ExceptionCategory < LogStash::Filters::Base
|
|
28
28
|
def filter(event)
|
29
29
|
categories = @Exceptions["Exceptions"]
|
30
30
|
|
31
|
-
if !event.
|
31
|
+
if !event.include?("SagaException") || event["SagaException"].nil?
|
32
32
|
event_exception = event["SagaException_Exception_ExceptionType"]
|
33
33
|
else
|
34
34
|
event_exception = event["SagaException"]["Exception"]["ExceptionType"]
|
@@ -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.83'
|
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."
|