logstash-filter-exceptioncategory 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/filters/exceptioncategory.rb +1 -1
- data/logstash-filter-exceptioncategory.gemspec +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3dc849d7f716d7a7a1c579a7c41b4c9aea960527
|
4
|
+
data.tar.gz: 914dddf35728a3a02f2bab029e545982e54e2b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ce62fddbcc9f5bc4edb0edc17368f82072f4173fccd3bfb78cfdfeb387ab2b2964b88a8119eda5f7533a6e4408e695e9947501492e04d0c234323c354733cb
|
7
|
+
data.tar.gz: ac95afb8bc4a5188175b872f430b0df9d8fc20edac1e66040c0eb2ceaa99298e302dcec1ceb1dc55ba7e831c30a9887070cffe4a657a2749999145fc5690db82
|
@@ -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["
|
30
|
+
event_exception = event["SagaException.Exception.ExceptionType"]
|
31
31
|
|
32
32
|
unless categories.key?(event_exception)
|
33
33
|
event_exception = event["Title"]
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'logstash-filter-exceptioncategory'
|
5
|
-
s.version = '0.1.
|
6
|
-
s.licenses = ['Apache
|
5
|
+
s.version = '0.1.4'
|
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."
|
9
9
|
s.authors = ['Ragnar Adolf Árnason']
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-exceptioncategory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
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-
|
11
|
+
date: 2016-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - ~>
|
16
|
+
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
18
|
version: '1.0'
|
19
19
|
name: logstash-core-plugin-api
|
@@ -21,13 +21,13 @@ dependencies:
|
|
21
21
|
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- - ~>
|
30
|
+
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '0'
|
33
33
|
name: logstash-devutils
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
type: :development
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
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.
|
@@ -52,7 +52,7 @@ files:
|
|
52
52
|
- spec/filters/exceptioncategory_spec.rb
|
53
53
|
homepage: http://www.tmsoftware.is
|
54
54
|
licenses:
|
55
|
-
- Apache
|
55
|
+
- Apache-2.0
|
56
56
|
metadata:
|
57
57
|
logstash_plugin: 'true'
|
58
58
|
logstash_group: filter
|
@@ -62,17 +62,17 @@ require_paths:
|
|
62
62
|
- lib
|
63
63
|
required_ruby_version: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- -
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '0'
|
68
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
73
|
requirements: []
|
74
74
|
rubyforge_project:
|
75
|
-
rubygems_version: 2.4
|
75
|
+
rubygems_version: 2.6.4
|
76
76
|
signing_key:
|
77
77
|
specification_version: 4
|
78
78
|
summary: Categorizes exceptions
|