logstash-codec-mtrraw 0.2.0 → 0.2.1

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: 587994befbb0dc6d11a87ad54846eabd7c814de6
4
- data.tar.gz: aa5ef5ca1baa6e64aa275c6ae55c38e7d2edf095
3
+ metadata.gz: 042436748e18b358b2156ce53bfc46466fd49c87
4
+ data.tar.gz: dff26b8f507c5e3697d7f18e19968f123b1be32d
5
5
  SHA512:
6
- metadata.gz: a5fdaedbecf58eb488a62ec062b5264fcc1e9388aa86048514fc8d98fae093b80d0fb76ebfbe5f7eb79ea07df6703f9b90d2722b33e0167512b5bf43051e71d7
7
- data.tar.gz: adc61e20578251b28c136a8d81401d02913e393f9b4a886cf4ab5782b5ec0e02cd091a69b13862d5c4e7ae12120683182d5e876401faad988d649aac9bfc060a
6
+ metadata.gz: e0aa09fc917b7558e5f6784933983fe8a5464ad207fe59f136c0210b20bd8a48811da51fd8ac285cc267a64daf843678a13a0c100d2897818b88dc76d8fbef6f
7
+ data.tar.gz: 09e0db67f146e7d4ed0467cf3594bdb2903a5c962c232f86cc594d127272639100c1dfea64b45630f0b5c6ba9dafe2b966ed496ccd7cd90fa3b85a249907b86e
@@ -89,6 +89,7 @@ class LogStash::Codecs::Mtrraw < LogStash::Codecs::Base
89
89
  avgloss = hops.inject(0) {|loss,each| loss += each[:pingloss]} / path.size
90
90
  avgrtt = hops.inject(0.0) {|rtt,each| rtt += each[:avgrtt]} / path.size
91
91
  tracedata = { "id" => id,
92
+ "origin" => origin,
92
93
  "target" => target,
93
94
  "message" => data ,
94
95
  "hops" => hops,
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-codec-mtrraw'
3
- s.version = '0.2.0'
3
+ s.version = '0.2.1'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = 'Converts optionally overloaded mtr --raw data to an event'
6
6
  s.description = 'Turn mtr --raw events with optional overloading into logstash events. see docs'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-mtrraw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - svdasein