logstash-filter-exceptioncategory 0.1.77 → 0.1.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26110247a453ddaccfd9a7732303e2843c19f514
|
4
|
+
data.tar.gz: de3622a0c7ba9a35f7e7705846f35935f758aca1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dd28dcec7e6d29a7806463de12564d434e9429d5d8742bb5757b021a3c5d44eba12c2239afb003976f320631690984b5560c95dae74b1ee8eef9c25057d49cd
|
7
|
+
data.tar.gz: ed2e2f97f5c2166c9cf1fadb69837b0717a85cab63675bdf22cf07066bc2ff64a2a51bb85e991167e8c7d195ba36808c0bd9c47407307cad03536c94cce54329
|
@@ -27,8 +27,8 @@ class LogStash::Filters::ExceptionCategory < LogStash::Filters::Base
|
|
27
27
|
public
|
28
28
|
def filter(event)
|
29
29
|
categories = @Exceptions["Exceptions"]
|
30
|
-
@logger.debug("
|
31
|
-
@logger.debug("
|
30
|
+
@logger.debug? && @logger.debug("Event received", :event => event)
|
31
|
+
@logger.debug? && @logger.debug("Event json", :event => event.to_json)
|
32
32
|
|
33
33
|
if(event.include?("SagaException"))
|
34
34
|
if(event["SagaException"].include?("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.78'
|
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."
|