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: fce41b1b68e5991e76580cf8f0db2b5730b61cb2
4
- data.tar.gz: 8741c8383962876a307b9c19242c63ddc11dd8bd
3
+ metadata.gz: cfd8cf8580dce54495fbeff4a23f061a628225af
4
+ data.tar.gz: 5824801b89362e1017b6724da848c3b17f6a7d4c
5
5
  SHA512:
6
- metadata.gz: 3e36a79277f8c759070526b2efeb6fbedfdd6c4b98bff2daacaf16e094580c56d283e57ee711087596179bed28b37dc3f7da5502d40bd8eb68c6e99ce2bc9d8b
7
- data.tar.gz: 57a8d5d7b87a22c6580b13fd20320087e39ec658b46ca5e8f79a4756e7de571511cf20852c7e3f44d8b9e9bfb3ec5bed49a5a33823fd1a6f571518399fd2fc08
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.key?("SagaException") and event["SagaException"].key?("Exception"))
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.7'
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."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-exceptioncategory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ragnar Adolf Árnason