logstash-codec-mtrraw 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/logstash/codecs/mtrraw.rb +2 -2
- data/logstash-codec-mtrraw.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b69af52f5d0ced04fc763ced3b94c3b817263a9f
|
4
|
+
data.tar.gz: 9bec94c3a2e57f654b7db714055832c357cae8e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d33524072f82e68a239fd2d63b66cf9210f0b3b58e732007f28d4d5e939eebcb9f29f9f83783615c0cbd6c0afc3676a79edaef2d06ffeed40ad92d83979f491e
|
7
|
+
data.tar.gz: 686c43e99caca64feafb315bee5377c6b40edf8c7a98d2e7738d11769af14873b2528de0d0e64984b29f4c0311339ad1c73dde3dda9e24331a32f21a81a1dd09
|
data/CHANGELOG.md
CHANGED
@@ -49,11 +49,11 @@ class LogStash::Codecs::Mtrraw < LogStash::Codecs::Base
|
|
49
49
|
if mtrrecs[0].type == 's'
|
50
50
|
target = mtrrecs.shift.data
|
51
51
|
pingcount = 0
|
52
|
-
if target =~ /(\
|
52
|
+
if target =~ /(\S+) (\S+) (\d+)/
|
53
53
|
origin = $1
|
54
54
|
target = $2
|
55
55
|
pingcount = $3
|
56
|
-
elsif target =~ /(\
|
56
|
+
elsif target =~ /(\S+) (\d+)/
|
57
57
|
origin = "ORIGIN"
|
58
58
|
target = $1
|
59
59
|
pingcount = $2
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-codec-mtrraw'
|
3
|
-
s.version = '0.2.
|
3
|
+
s.version = '0.2.4'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = 'Converts mtr --raw route trace data to logstash events'
|
6
6
|
s.description = 'Renders wholepath and hop record types from mtr --raw path trace data'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-codec-mtrraw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- svdasein
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core-plugin-api
|
@@ -91,10 +91,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.5.1
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Converts mtr --raw route trace data to logstash events
|
98
98
|
test_files:
|
99
99
|
- spec/codecs/mtrraw_spec.rb
|
100
100
|
- spec/spec_helper.rb
|
101
|
+
has_rdoc:
|