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 +4 -4
- data/lib/logstash/codecs/cef.rb +1 -0
- data/logstash-codec-cef.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c287dd3576191cc4b0f27fe4ac529cec64f12b42
|
4
|
+
data.tar.gz: 4b8f9859909d202ec096f3c97f72ae912c09baf4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c263325b4df63f22365d9fca7fc9367431d3e67b987db11e352c41b9daf9d6f8b67449f301790fdd5ddbcc9756ba40f635843da905856c8f4f6cbed148c53edc
|
7
|
+
data.tar.gz: 112626e93fab1469bb9bb1130c663485fc1d31576e5b6fa78b493be4178f650475da043f3178b0b19d37467ed95dc1bdf8847dffe0f62c265fd30b835a43430c
|
data/lib/logstash/codecs/cef.rb
CHANGED
@@ -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 /(?<!\\)[\|]/
|
data/logstash-codec-cef.gemspec
CHANGED
@@ -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.
|
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"
|