hpess-logstash-codec-cef 0.2.2 → 0.2.3

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: 98b63ea410dc61a1a5ca4db98d63a486b48943e6
4
- data.tar.gz: 0c6547cb59f0cb22ec04dd79e8709a78649eca3b
3
+ metadata.gz: c287dd3576191cc4b0f27fe4ac529cec64f12b42
4
+ data.tar.gz: 4b8f9859909d202ec096f3c97f72ae912c09baf4
5
5
  SHA512:
6
- metadata.gz: 7636b4a371ffcaf5714ec62b441d25ef0f70d87cf838e3551bd4fb1c70fcdfa873ce63fd100cb7cfb30b92f99cc417125bad25e2446668ba0122f8c53cb0bc4b
7
- data.tar.gz: 5e171d9917c7c9c6e71524ceafdd4756d43787acaecff7e2468c14b96a77bc467bdb8d64e3c6fd59eae992aa163ceb95a8543e3f4653a01e15d1250fb8f4e82d
6
+ metadata.gz: c263325b4df63f22365d9fca7fc9367431d3e67b987db11e352c41b9daf9d6f8b67449f301790fdd5ddbcc9756ba40f635843da905856c8f4f6cbed148c53edc
7
+ data.tar.gz: 112626e93fab1469bb9bb1130c663485fc1d31576e5b6fa78b493be4178f650475da043f3178b0b19d37467ed95dc1bdf8847dffe0f62c265fd30b835a43430c
@@ -20,6 +20,7 @@ class LogStash::Codecs::CEF < LogStash::Codecs::Base
20
20
  data = data[0..-2]
21
21
  data.slice!(0)
22
22
  end
23
+ event = LogStash::Event.new()
23
24
 
24
25
  # Split by the pipes
25
26
  event['cef_version'], event['cef_vendor'], event['cef_product'], event['cef_device_version'], event['cef_sigid'], event['cef_name'], event['cef_severity'], message = data.split /(?<!\\)[\|]/
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'hpess-logstash-codec-cef'
4
- s.version = '0.2.2'
4
+ s.version = '0.2.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "CEF codec to parse CEF formated logs"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hpess-logstash-codec-cef
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch