logstash-codec-cef 6.1.1-java → 6.1.2-java

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
  SHA256:
3
- metadata.gz: 39a0c310cbad874103c586f3d5f2ffc662d50982bed42fc3a34ad94e2750b56e
4
- data.tar.gz: 33369cef4f948160910e03df92ef61ff36cb7000630450b95f935c41e755fd48
3
+ metadata.gz: b911dab6fca1f37b8edd22e8ea97759674df3301bb0afafacf14343c84237088
4
+ data.tar.gz: ebad9548b63d7a5f6f3bc92e74166700599b75e7425df1fd471cfa111399b098
5
5
  SHA512:
6
- metadata.gz: 9c7cee32378467aab694d6efd332123596cfd8e4290a942eee33ed356467a7c1f50c9ef718993627f0cfc5dc9fb499bcfc5246c54f942f76a4c234e319443eaa
7
- data.tar.gz: ca5bbc8cc18c513784fb00389802658c4e2c88115f2d6aaf33928c9484d4591d2509939523f076036a4a11069e5826af66c80f570bd65974c49c7a64e84f8a33
6
+ metadata.gz: b2cea62a7689f4d15791338167a5f105a5770121a0069f52607e28bb7fb1e7081eb039d4916d78dbe18f288bdc4c49a11cb69945e1721709ae5b0905c1497c0c
7
+ data.tar.gz: 648f0c5fd204ddc940f8d7d53cfd3bbd4d7493b607dc78058b5a11bfc5cdbeda898cd6860743be84af7c1ea5260327983300b1bbaecd314901a923c4c489acfe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
+ ## 6.1.2
2
+ - Added error log with full payload when something bad happens in decoding a message[#84](https://github.com/logstash-plugins/logstash-codec-cef/pull/84)
3
+
1
4
  ## 6.1.1
2
5
  - Improved encoding performance, especially when encoding many extension fields [#81](https://github.com/logstash-plugins/logstash-codec-cef/pull/81)
6
+
7
+ ## 6.1.0
3
8
  - Fixed CEF short to long name translation for ahost/agentHostName field, according to documentation [#75](https://github.com/logstash-plugins/logstash-codec-cef/pull/75)
4
9
 
5
10
  ## 6.0.1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-codec-cef.svg)](https://travis-ci.org/logstash-plugins/logstash-codec-cef)
3
+ [![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-codec-cef.svg)](https://travis-ci.com/logstash-plugins/logstash-codec-cef)
4
4
 
5
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
6
6
 
@@ -269,6 +269,7 @@ class LogStash::Codecs::CEF < LogStash::Codecs::Base
269
269
  end
270
270
 
271
271
  def handle(data, &block)
272
+ original_data = data.dup
272
273
  event = LogStash::Event.new
273
274
  event.set(raw_data_field, data) unless raw_data_field.nil?
274
275
 
@@ -333,7 +334,7 @@ class LogStash::Codecs::CEF < LogStash::Codecs::Base
333
334
  yield event
334
335
  rescue => e
335
336
  @logger.error("Failed to decode CEF payload. Generating failure event with payload in message field.",
336
- :exception => e.class, :message => e.message, :backtrace => e.backtrace, :data => data)
337
+ :exception => e.class, :message => e.message, :backtrace => e.backtrace, :original_data => original_data)
337
338
  yield LogStash::Event.new("message" => data, "tags" => ["_cefparsefailure"])
338
339
  end
339
340
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-cef'
4
- s.version = '6.1.1'
4
+ s.version = '6.1.2'
5
5
  s.platform = 'java'
6
6
  s.licenses = ['Apache License (2.0)']
7
7
  s.summary = "Reads the ArcSight Common Event Format (CEF)."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-cef
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.1
4
+ version: 6.1.2
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-09 00:00:00.000000000 Z
11
+ date: 2021-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement