logstash-filter-exceptioncategory 0.1.91 → 0.1.92

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: b84cdc0d60c42bc8e2b23bdf76d6cfbafc64f441
4
- data.tar.gz: f995c069763d17d4a4162354bb0922c6b22020f8
3
+ metadata.gz: 6c8ddc26db53d1b36109afede33d9a25d4659c57
4
+ data.tar.gz: 28ba20680dedfa5a4371d9a2e4e7257abc22f38c
5
5
  SHA512:
6
- metadata.gz: 8e4c4e2e98e8a727e6947ca8c0cb76d3f74621f41ec87b810c04e17c89e44a31d11c72cae1bb897011c60ee4f61dabbd0e81edf23f295f9256c6964ca41a6331
7
- data.tar.gz: 81ffd3707aa655799144b6cdcc2c2ded77ef15f78443ea1f3f1736acd4699e64feff73c7ab08714b4333be8551b0d01ce83b6a7358550d2c0532cc9056a2b342
6
+ metadata.gz: 7a1744a08ee1a3173f904807e0f30ad9ea4171dd2781290eacb3f298cbbc4cb42fd1b48421f2ff434338f337cf52581a35a5f6e10b4ec3d61e3cb961504b472e
7
+ data.tar.gz: bb4c2fa195cc9319b5cf0356a04d263e32ef2f57a60b897890b30e68f8024b0b31d94bdf349a0092f124137b9a4448fd041e41c32c9dd3310df3995094aa2b50
@@ -27,17 +27,20 @@ class LogStash::Filters::ExceptionCategory < LogStash::Filters::Base
27
27
  public
28
28
  def filter(event)
29
29
  categories = @Exceptions["Exceptions"]
30
+ event_exception = event["Exception"]
30
31
 
31
32
  #@logger.debug? && @logger.debug("EVENT: ")
32
33
  #@logger.debug? && @logger.debug(event)
33
- puts "EVENT:::::"
34
- puts event
34
+ #puts "EVENT:::::"
35
+ #puts event
36
+
37
+ #if event["SagaException"].nil?
38
+ # event_exception = event["SagaException_Exception_ExceptionType"]
39
+ #else
40
+ # event_exception = event["SagaException"]["Exception"]["ExceptionType"]
41
+ #end
42
+
35
43
 
36
- if event["SagaException"].nil?
37
- event_exception = event["SagaException_Exception_ExceptionType"]
38
- else
39
- event_exception = event["SagaException"]["Exception"]["ExceptionType"]
40
- end
41
44
 
42
45
 
43
46
  #if event.include?("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.91'
5
+ s.version = '0.1.92'
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."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-exceptioncategory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.91
4
+ version: 0.1.92
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ragnar Adolf Árnason
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-26 00:00:00.000000000 Z
11
+ date: 2016-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement