logstash-filter-ciseipdb 0.10.0 → 0.11.0

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: 6d629463df4731b72259a3fd44fbfbdfbc3abad8
4
- data.tar.gz: be938079e6e753bdcd0d15511dd7841a41b8bae4
3
+ metadata.gz: c3672bc0c1b7b5968f5cb624d04f68838c950070
4
+ data.tar.gz: 97d8a2d91dfe628ab0a1d226bf9f0f1d56c85436
5
5
  SHA512:
6
- metadata.gz: 0edb982adc2ab31aceb74f2a1e2b394dcc0546b3e23314238031027b5786fa1c31907a591365c7ee7cb8ea39936c00d1b739c80839b1684e37d8ec4294ab2b5f
7
- data.tar.gz: 9487277cde7ac75c49c769842695f0924f7b168b3ad5d6f8e4e0b5d3cc8382b909c82ba73fee6e1f91c6839b046b5ffc136e17688b5b2de09e5cfd83bf158270
6
+ metadata.gz: 4d5ad693b210a841ca1e765f1e12df0dee2086bc5405960f8789a5a53f116df2840d72637e2a8cc43d7a02421d3bb67f50393052a05919cbee1b0bec167d8900
7
+ data.tar.gz: 7a3f52036376a1239e5c19875c19e8f985115987b13c0e67643ecd788a43467bc75d0eaa9182b54632aec382143cfaea11f8f224ed6d5d77d10197f1a1824f33
@@ -132,6 +132,13 @@ class LogStash::Filters::Ciseipdb < LogStash::Filters::Base
132
132
  output['description'] = hit['_source']['description']
133
133
  output['router'] = hit['_source']['router']
134
134
  end
135
+
136
+ # Extra data for pools
137
+ if hit['_source']['database']['shortname'] == 'pool'
138
+ output['pool_name'] = hit['_source']['pool_name']
139
+ output['pool_description'] = hit['_source']['pool_description']
140
+ end
141
+
135
142
  end
136
143
  end
137
144
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-ciseipdb'
4
- s.version = '0.10.0'
4
+ s.version = '0.11.0'
5
5
  s.licenses = ['Apache-2.0']
6
6
  s.summary = "Lookup and inject IP database information into events"
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,73 +1,75 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-ciseipdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  - Sohonet
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-10 00:00:00.000000000 Z
12
+ date: 2016-12-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ name: logstash-core-plugin-api
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
20
  version: '1.0'
20
- name: logstash-core-plugin-api
21
- prerelease: false
22
21
  type: :runtime
22
+ prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.0'
28
28
  - !ruby/object:Gem::Dependency
29
+ name: elasticsearch
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - "~>"
32
33
  - !ruby/object:Gem::Version
33
34
  version: '1.0'
34
- name: elasticsearch
35
- prerelease: false
36
35
  type: :runtime
36
+ prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.0'
42
42
  - !ruby/object:Gem::Dependency
43
+ name: redis
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
46
  - - ">="
46
47
  - !ruby/object:Gem::Version
47
48
  version: '0'
48
- name: redis
49
- prerelease: false
50
49
  type: :runtime
50
+ prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
+ name: logstash-devutils
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - ">="
60
61
  - !ruby/object:Gem::Version
61
62
  version: '0'
62
- name: logstash-devutils
63
- prerelease: false
64
63
  type: :development
64
+ prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
- description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
70
+ description: This gem is a logstash plugin required to be installed on top of the
71
+ Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not
72
+ a stand-alone program
71
73
  email: support@sohonet.com
72
74
  executables: []
73
75
  extensions: []
@@ -86,7 +88,7 @@ licenses:
86
88
  metadata:
87
89
  logstash_plugin: 'true'
88
90
  logstash_group: filter
89
- post_install_message:
91
+ post_install_message:
90
92
  rdoc_options: []
91
93
  require_paths:
92
94
  - lib
@@ -101,9 +103,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
103
  - !ruby/object:Gem::Version
102
104
  version: '0'
103
105
  requirements: []
104
- rubyforge_project:
105
- rubygems_version: 2.4.8
106
- signing_key:
106
+ rubyforge_project:
107
+ rubygems_version: 2.5.1
108
+ signing_key:
107
109
  specification_version: 4
108
110
  summary: Lookup and inject IP database information into events
109
111
  test_files: