logstash-filter-exceptioncategory 0.1.4 → 0.1.5

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: 3dc849d7f716d7a7a1c579a7c41b4c9aea960527
4
- data.tar.gz: 914dddf35728a3a02f2bab029e545982e54e2b95
3
+ metadata.gz: 6d514ae93844b166bdf24af19b40e4e9dbf4f36a
4
+ data.tar.gz: 7e247f062fdc27eec88974c92b4cb4fe53779e32
5
5
  SHA512:
6
- metadata.gz: d5ce62fddbcc9f5bc4edb0edc17368f82072f4173fccd3bfb78cfdfeb387ab2b2964b88a8119eda5f7533a6e4408e695e9947501492e04d0c234323c354733cb
7
- data.tar.gz: ac95afb8bc4a5188175b872f430b0df9d8fc20edac1e66040c0eb2ceaa99298e302dcec1ceb1dc55ba7e831c30a9887070cffe4a657a2749999145fc5690db82
6
+ metadata.gz: ef0fcf016592a3cbe62c27b8782168c7109264d917a6d8ddb38301740db9ebd7274f42e48343cfbcae3c4acdb0cd8d6f04befa090a16ff369689621f5c421cde
7
+ data.tar.gz: 13859542ac4b6335ad1c119b2b9afa2d502e0dd356e6411b6ee36be0883452ab32a355c14a912f67e3511846b5ff157e28ff75e400d4603754dbd0219f18b5e1
@@ -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
- event_exception = event["SagaException.Exception.ExceptionType"]
30
+ event_exception = event["SagaException"]["Exception"]["ExceptionType"]
31
31
 
32
32
  unless categories.key?(event_exception)
33
33
  event_exception = event["Title"]
@@ -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.4'
5
+ s.version = '0.1.5'
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ragnar Adolf Árnason