logstash-codec-ipfix 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +0 -0
- data/CONTRIBUTORS +0 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/NOTICE.TXT +0 -0
- data/README.md +40 -0
- data/lib/logstash/codecs/IPFIX/enterprise.yaml +14 -0
- data/lib/logstash/codecs/IPFIX/ipfix.yaml +1198 -0
- data/lib/logstash/codecs/IPFIX/util.rb +197 -0
- data/lib/logstash/codecs/IPFIX/version.rb +7 -0
- data/lib/logstash/codecs/ipfix.rb +259 -0
- data/logstash-codec-ipfix.gemspec +39 -0
- data/spec/logstash/codecs/IPFIX_spec.rb +11 -0
- data/spec/spec_helper.rb +2 -0
- metadata +164 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'logstash/codecs/IPFIX/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'logstash-codec-ipfix'
|
8
|
+
spec.version = Logstash::Codec::IPFIX::VERSION
|
9
|
+
spec.authors = ['Matt Richards']
|
10
|
+
spec.email = ['rubygems@richards777.com']
|
11
|
+
|
12
|
+
spec.summary = %q{The IPFIX codec decodes IPFIX version 10 flows.}
|
13
|
+
spec.description = %q{This codec was developed using the example of the netflow codec, which decodes v5 and v9 flows.}
|
14
|
+
spec.license = 'Apache License (2.0)'
|
15
|
+
|
16
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
17
|
+
# delete this section to allow pushing this gem to any host.
|
18
|
+
if spec.respond_to?(:metadata)
|
19
|
+
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
20
|
+
else
|
21
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
22
|
+
end
|
23
|
+
|
24
|
+
spec.files = Dir['lib/**/*','spec/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
28
|
+
|
29
|
+
|
30
|
+
# Special flag to let us know this is actually a logstash plugin
|
31
|
+
spec.metadata = {'logstash_plugin' => 'true', 'logstash_group' => 'codec'}
|
32
|
+
|
33
|
+
spec.add_development_dependency 'bundler', '~> 1.11'
|
34
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
35
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
36
|
+
spec.add_runtime_dependency 'logstash-core', '>= 2.1.0', '< 3.0.0'
|
37
|
+
spec.add_runtime_dependency 'bindata', '>= 2.1', '< 3.0'
|
38
|
+
spec.add_development_dependency 'logstash-devutils', '~> 0.0', '>= 0.0.18'
|
39
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,164 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: logstash-codec-ipfix
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Matt Richards
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-02-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ~>
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.11'
|
19
|
+
name: bundler
|
20
|
+
prerelease: false
|
21
|
+
type: :development
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.11'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '10.0'
|
33
|
+
name: rake
|
34
|
+
prerelease: false
|
35
|
+
type: :development
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '3.0'
|
47
|
+
name: rspec
|
48
|
+
prerelease: false
|
49
|
+
type: :development
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 2.1.0
|
61
|
+
- - <
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 3.0.0
|
64
|
+
name: logstash-core
|
65
|
+
prerelease: false
|
66
|
+
type: :runtime
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 2.1.0
|
72
|
+
- - <
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 3.0.0
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '2.1'
|
81
|
+
- - <
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '3.0'
|
84
|
+
name: bindata
|
85
|
+
prerelease: false
|
86
|
+
type: :runtime
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '2.1'
|
92
|
+
- - <
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '3.0'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ~>
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0.0'
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.0.18
|
104
|
+
name: logstash-devutils
|
105
|
+
prerelease: false
|
106
|
+
type: :development
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ~>
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0.0'
|
112
|
+
- - '>='
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 0.0.18
|
115
|
+
description: This codec was developed using the example of the netflow codec, which decodes v5 and v9 flows.
|
116
|
+
email:
|
117
|
+
- rubygems@richards777.com
|
118
|
+
executables: []
|
119
|
+
extensions: []
|
120
|
+
extra_rdoc_files: []
|
121
|
+
files:
|
122
|
+
- CHANGELOG.md
|
123
|
+
- CONTRIBUTORS
|
124
|
+
- Gemfile
|
125
|
+
- LICENSE
|
126
|
+
- NOTICE.TXT
|
127
|
+
- README.md
|
128
|
+
- lib/logstash/codecs/IPFIX/enterprise.yaml
|
129
|
+
- lib/logstash/codecs/IPFIX/ipfix.yaml
|
130
|
+
- lib/logstash/codecs/IPFIX/util.rb
|
131
|
+
- lib/logstash/codecs/IPFIX/version.rb
|
132
|
+
- lib/logstash/codecs/ipfix.rb
|
133
|
+
- logstash-codec-ipfix.gemspec
|
134
|
+
- spec/logstash/codecs/IPFIX_spec.rb
|
135
|
+
- spec/spec_helper.rb
|
136
|
+
homepage:
|
137
|
+
licenses:
|
138
|
+
- Apache License (2.0)
|
139
|
+
metadata:
|
140
|
+
logstash_plugin: 'true'
|
141
|
+
logstash_group: codec
|
142
|
+
post_install_message:
|
143
|
+
rdoc_options: []
|
144
|
+
require_paths:
|
145
|
+
- lib
|
146
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - '>='
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
151
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - '>='
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '0'
|
156
|
+
requirements: []
|
157
|
+
rubyforge_project:
|
158
|
+
rubygems_version: 2.4.8
|
159
|
+
signing_key:
|
160
|
+
specification_version: 4
|
161
|
+
summary: The IPFIX codec decodes IPFIX version 10 flows.
|
162
|
+
test_files:
|
163
|
+
- spec/logstash/codecs/IPFIX_spec.rb
|
164
|
+
- spec/spec_helper.rb
|