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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ded7731aa2be5afc77a19998142b9bf7dcadf885
4
- data.tar.gz: c227d14652a194ff74b9948080ab05ccf5ec13e7
3
+ metadata.gz: b69af52f5d0ced04fc763ced3b94c3b817263a9f
4
+ data.tar.gz: 9bec94c3a2e57f654b7db714055832c357cae8e9
5
5
  SHA512:
6
- metadata.gz: b3c1951eea1d3ae61c88ad8873fd468f855b985b3ec54917ef797861b85ee080db6f0ea5b5953523767a341d3a05cc8781afa295c900b62e226e43319f993c3d
7
- data.tar.gz: 076ed3f087d204da0863c96f3fc79d8b3537e0d74b82a06a608c80e5ddf7cb9062735830dbc162d181abd52de5856be7fc3bf4c954b6ca6e1c28c9ce78878a2b
6
+ metadata.gz: d33524072f82e68a239fd2d63b66cf9210f0b3b58e732007f28d4d5e939eebcb9f29f9f83783615c0cbd6c0afc3676a79edaef2d06ffeed40ad92d83979f491e
7
+ data.tar.gz: 686c43e99caca64feafb315bee5377c6b40edf8c7a98d2e7738d11769af14873b2528de0d0e64984b29f4c0311339ad1c73dde3dda9e24331a32f21a81a1dd09
data/CHANGELOG.md CHANGED
@@ -1,2 +1,6 @@
1
+ ## 0.2.4
2
+ - changed regex for s 0 lines so names can be any non-space character
3
+
4
+
1
5
  ## 0.1.0
2
6
  - Plugin created with the logstash plugin generator
@@ -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 =~ /(\w+) (\w+) (\d+)/
52
+ if target =~ /(\S+) (\S+) (\d+)/
53
53
  origin = $1
54
54
  target = $2
55
55
  pingcount = $3
56
- elsif target =~ /(\w+) (\d+)/
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'
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.3
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-29 00:00:00.000000000 Z
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.6.11
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: