logstash-filter-exceptioncategory 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +25 -1
- data/logstash-filter-exceptioncategory.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15665749908c8facf793c3d8ba86bb7f29ad64a9
|
4
|
+
data.tar.gz: b4f6c2ba582343f96bdeba2f966b24d7f699d5dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fc6094f6c818d416c90749eb83ff87d3390bc04a36f14632d0b1363d97c3075db9699405e40f5ab47552b26daad46c048d52761bdc21e7c9a3db0d48eff3ff2
|
7
|
+
data.tar.gz: 193f95d7c6a6c8b46d2b77e58e71694788e4713dd8a4b79ea5a08d7dc430bf2b594d16fd5155379f60c152a16fa731b345af0040490e858b3fdade34640ea93a
|
data/README.md
CHANGED
@@ -1 +1,25 @@
|
|
1
|
-
|
1
|
+
# ExceptionsCategory
|
2
|
+
|
3
|
+
This Logstash filter sends an html request for a json document.
|
4
|
+
It then looks up the @Exception attached to the event in that json document.
|
5
|
+
If that exception is present in the json document and has an attached category, it then attaches the category as @Category.
|
6
|
+
|
7
|
+
Usage:
|
8
|
+
```
|
9
|
+
filter {
|
10
|
+
exceptionscategory {
|
11
|
+
category_url => "url/to/json"
|
12
|
+
}
|
13
|
+
}
|
14
|
+
```
|
15
|
+
Where _category_url_ is a required parameter, pointing to the url of the json document.
|
16
|
+
|
17
|
+
The json document must be structured as follows:
|
18
|
+
```json
|
19
|
+
{
|
20
|
+
"Exceptions": {
|
21
|
+
"BadException": "Severe",
|
22
|
+
"GoodException": "Warning"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
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.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raggi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|