fluent-plugin-netflow 0.0.3 → 0.0.4
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 +5 -2
- data/VERSION +1 -1
- data/lib/fluent/plugin/netflow.yaml +2 -2
- data/lib/fluent/plugin/parser_netflow.rb +2 -2
- 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: 80cb41c0e0c918bd556db7f17a810789d67565d9
|
4
|
+
data.tar.gz: b80568cec5c56ea94091281126c8ba6dc77aaccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2df55c1357c007c7607a61bfd298fca5c8d974298347ba10ad652c9ea9859a593cc9dba4240e2adb80402dc2c9c2ad731f42aedf83069d0fdc8ba670da587578
|
7
|
+
data.tar.gz: 02ddac47f6696fae81970ae75252a8607392cf8df5524da670a209c4b4ff399733c29376efea866d6ecc14384b3f3587a81156789b43fbb9cc24c207530f8115
|
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
Accept Netflow logs.
|
4
4
|
|
5
|
+
Netflow parser is based on [Logstash's netflow codes](https://github.com/elasticsearch/logstash/blob/master/lib/logstash/codecs/netflow.rb).
|
6
|
+
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Use RubyGems:
|
@@ -25,5 +27,6 @@ Use RubyGems:
|
|
25
27
|
|
26
28
|
## TODO
|
27
29
|
|
28
|
-
- Support TCP protocol
|
29
|
-
- Use Fluentd feature instead of own handlers
|
30
|
+
- Support TCP protocol? TCP is needed?
|
31
|
+
- Use Fluentd feature instead of own handlers
|
32
|
+
- Need another maintainer who uses Netflow in production!
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
@@ -278,7 +278,7 @@ module Fluent
|
|
278
278
|
end
|
279
279
|
|
280
280
|
def get
|
281
|
-
self.bytes.collect { |byte| byte.to_s(16) }.join(":")
|
281
|
+
self.bytes.collect { |byte| byte.value.to_s(16).rjust(2,'0') }.join(":")
|
282
282
|
end
|
283
283
|
end
|
284
284
|
|
@@ -443,6 +443,6 @@ module Fluent
|
|
443
443
|
end
|
444
444
|
end
|
445
445
|
|
446
|
-
register_template('netflow',
|
446
|
+
register_template('netflow', Proc.new { NetflowParser.new })
|
447
447
|
end
|
448
448
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-netflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Nakagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|