logstash-filter-exceptioncategory 0.1.7 → 0.1.71
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: cfd8cf8580dce54495fbeff4a23f061a628225af
|
4
|
+
data.tar.gz: 5824801b89362e1017b6724da848c3b17f6a7d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7019ae9391204e52f554016639c28d214fc14c745a209edd4f1bfe859deea416589144b08e429cd4b1b32f5ed226275b430594560e0706f85bb2d11bac1bacf
|
7
|
+
data.tar.gz: a8046aa25a83a88534a186274043950a66b09c2e112cba5b00c0509b8a6c86d6ee83c203bf9c6cf0408178924254281f3b7cb7c645fb65e5db9a17def788e70b
|
@@ -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.
|
30
|
+
if(event.include?("SagaException") and 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.71'
|
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."
|