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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44c582eaffab6d41275a7c51c4713697b4c5a1af
4
- data.tar.gz: cd96bf43d7df17d0cc06c4aedc262382bf12409b
3
+ metadata.gz: 15665749908c8facf793c3d8ba86bb7f29ad64a9
4
+ data.tar.gz: b4f6c2ba582343f96bdeba2f966b24d7f699d5dd
5
5
  SHA512:
6
- metadata.gz: 31f6f0d5593137d9587744e18cb043bac3e8e323dc7905be61b9ceacd5e7e73c2b8ae2478f0c4e166156e4cd8383c40274ca0bfa9393735eb2bc94f5c4024939
7
- data.tar.gz: 56db0de1d54d4f00e333f48a4e5826d9aa2e4d7375a4e15ce3a228cbb5ae55254d452bd04def57782ad17faac6f9a303d7fd183789a4edf92206c5a101311d79
6
+ metadata.gz: 9fc6094f6c818d416c90749eb83ff87d3390bc04a36f14632d0b1363d97c3075db9699405e40f5ab47552b26daad46c048d52761bdc21e7c9a3db0d48eff3ff2
7
+ data.tar.gz: 193f95d7c6a6c8b46d2b77e58e71694788e4713dd8a4b79ea5a08d7dc430bf2b594d16fd5155379f60c152a16fa731b345af0040490e858b3fdade34640ea93a
data/README.md CHANGED
@@ -1 +1,25 @@
1
- readme
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
+ ```
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-exceptioncategory'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Example filter"
6
6
  s.description = "This is an example filter"
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.0
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-08 00:00:00.000000000 Z
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