fluent-plugin-netflow 0.2.7 → 0.2.8
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/in_netflow.rb +1 -0
- 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: c9584ad91d1208c8ad6bcbc2823dbff74d0227cf
|
4
|
+
data.tar.gz: 934185e7c819deefb8ba1e371e7242ffbfe8c935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d398b04b33ae4ccbdb4642b77f1c52daccc78f59e003e0ca995732fd93c0f20d4d5e76e66282b984b4ab9045a1ae00923378bfc4dfc1770af3746ba571ad0fd
|
7
|
+
data.tar.gz: 05b97f663f248fc1ab79360ff241773019f4154be0348128701e57ebb088a43c5925c6f8167c76734978a6baedef7b45976223f94c36e186d5cf4aefba693de0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.8
|
@@ -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 = unix_sec.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 = pdu.unix_sec
|
292
|
+
time = 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: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Nakagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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: '0'
|
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
|