logstash-codec-sflow 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee69bffd79c2302c265793141d26e6ae3c326632
4
- data.tar.gz: 9eacb61fc2d49846dd66157d429fef84389346d4
3
+ metadata.gz: 0d0ad6c9ef2cf42d5f3cd57608c6cd98390026ae
4
+ data.tar.gz: a8a12e30f58dc856041faa94e8a11ce4217d90aa
5
5
  SHA512:
6
- metadata.gz: 542aab3cbbd1c11b87914b4533fd38c2451cbfd236b341df4d93aaef680ee253fb1ab57b4144c9be2c8aa13dd1c45b147ef0121d9e11e43728ce9a8ce5d99578
7
- data.tar.gz: 7403d549f59c9bedf7a911efd7590e508d1f29531d48680c4bbfb37084b322a1443663e28cd3ebd3016144866709da65816e14b9ea4148966f1a7e3bd493ea25
6
+ metadata.gz: 7bb344ce75c3436645c45ac3bc365172ee58c319e5f1509c650d4fecf84824084804d22866ca91ab67915a56b32e9ecc154d0a22d2f51003907526f5ffc95498
7
+ data.tar.gz: e6b3b1e3a29bdb6f34b8cf49dd2933df8c3d013232ad88ea642f3d3cc61e890cd60cccb7c3928903124d95fc140fad8e061c005c41433ef3f5e8ed0b905f95b3
@@ -62,16 +62,16 @@ class LogStash::Codecs::Sflow < LogStash::Codecs::Base
62
62
  def snmp_call(event)
63
63
  if @snmp_interface
64
64
  if event.include?('source_id_index')
65
- event["source_id_index"] = @snmp.get_interface(event["agent_ip"], event["source_id_index"])
65
+ event["source_id_index_descr"] = @snmp.get_interface(event["agent_ip"], event["source_id_index"])
66
66
  end
67
67
  if event.include?('input_interface')
68
- event["input_interface"] = @snmp.get_interface(event["agent_ip"], event["input_interface"])
68
+ event["input_interface_descr"] = @snmp.get_interface(event["agent_ip"], event["input_interface"])
69
69
  end
70
70
  if event.include?('output_interface')
71
- event["output_interface"] = @snmp.get_interface(event["agent_ip"], event["output_interface"])
71
+ event["output_interface_descr"] = @snmp.get_interface(event["agent_ip"], event["output_interface"])
72
72
  end
73
73
  if event.include?('interface_index')
74
- event["interface_index"] = @snmp.get_interface(event["agent_ip"], event["interface_index"])
74
+ event["interface_index_descr"] = @snmp.get_interface(event["agent_ip"], event["interface_index"])
75
75
  end
76
76
  end
77
77
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-sflow'
4
- s.version = '0.10.0'
4
+ s.version = '0.11.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "The sflow codec is for decoding SFlow v5 flows."
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-sflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Fraison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-30 00:00:00.000000000 Z
11
+ date: 2016-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement