fluent-plugin-netflow 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/fluent/plugin/parser_netflow.rb +2 -2
- data/test/test_parser_netflow.rb +1 -0
- data/test/test_parser_netflow9.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78e9dab567c3ee1eff5d5b30e7eede743e4a4296
|
4
|
+
data.tar.gz: 53a5b634e3ed77404d31ccf24ed8910b27406f79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 487882f6056cdd022238fa39623d92ff0d5c5460220e02d0639d58e756add067cce05516b944c29016e964c8b1946280458c76fd11d18668856098a9bae18a07
|
7
|
+
data.tar.gz: 92df36281eea0ac2380effed945ef0e84d48ffffd6d0a2caf5ac401ca20baaa6d3bd9e87aa42e158448b433b042fd412705ffd382754832230dd0294c6b161ed
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0.
|
1
|
+
1.0.0.rc2
|
@@ -145,7 +145,7 @@ module Fluent
|
|
145
145
|
sampling_algorithm = (sampling & 0b1100000000000000) >> 14
|
146
146
|
sampling_interval = sampling & 0b0011111111111111
|
147
147
|
|
148
|
-
time =
|
148
|
+
time = Fluent::EventTime.new(unix_sec.to_i, unix_nsec.to_i)
|
149
149
|
|
150
150
|
records_bytes = payload.bytesize - NETFLOW_V5_HEADER_BYTES
|
151
151
|
|
@@ -289,7 +289,7 @@ module Fluent
|
|
289
289
|
next
|
290
290
|
end
|
291
291
|
|
292
|
-
time =
|
292
|
+
time = Fluent::EventTime.new(pdu.unix_sec.to_i)
|
293
293
|
event = {}
|
294
294
|
|
295
295
|
# Fewer fields in the v9 header
|
data/test/test_parser_netflow.rb
CHANGED
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: 1.0.0.
|
4
|
+
version: 1.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Nakagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: 1.3.1
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project:
|
128
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.6.11
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Netflow plugin for Fluentd
|