logstash-filter-exceptioncategory 0.1.71 → 0.1.72
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: 2e062c73f0ca4b00294c4b30083a7ff7b28fcc52
|
4
|
+
data.tar.gz: 1d57a8a219ae792f731ebacf973c09358d8bc5ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ca18df4bd711b96a14a3b94cb3b5810ddf481d2974fea62667ca84e9c3497d1404f61de8bb41f8187f7c5aacc8e224cb323ae7a8b18bc3524ad9a917ef81a83
|
7
|
+
data.tar.gz: dd50dafa366a5cfb10333d693d06c10c57ffeaea339bdd747efc2715543b8e76f5ac43beb97cc3e41e6d9de653ddb48fe153c38257bc9b3e1b18665d2f40d519
|
@@ -27,7 +27,7 @@ class LogStash::Filters::ExceptionCategory < LogStash::Filters::Base
|
|
27
27
|
public
|
28
28
|
def filter(event)
|
29
29
|
categories = @Exceptions["Exceptions"]
|
30
|
-
if(event.include?("SagaException")
|
30
|
+
if(event.include?("SagaException") && event["SagaException"].include?("Exception"))
|
31
31
|
event_exception = event["SagaException"]["Exception"]["ExceptionType"]
|
32
32
|
end
|
33
33
|
|
@@ -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.72'
|
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."
|