logstash-filter-dissect 1.1.2 → 1.1.4

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
  SHA256:
3
- metadata.gz: f635a676ad0b9bd2d13d5668cdc61516fad8044f70535e34000b285675d0d9fb
4
- data.tar.gz: 00f589cfd3429ba5455cab30195f709d2bc0b71689f7ee35c15acef8afb169e2
3
+ metadata.gz: 21b60b83ce9a628a4c1879f0cffa16b3266595a5858fa5874998d3ca971718a6
4
+ data.tar.gz: e6b49de027860dcd0f6316ff93632aa8dd33f2bc9323258babfdbe867ea23bb3
5
5
  SHA512:
6
- metadata.gz: 6ea7ed1b98402bc2c511464f3cf51143c05d080c5f6e979c4499644f96338907eb2706bf7e91cd597e3004c6c3f4fb97bd6e7394cdba0d282af10b3ff4c1b70b
7
- data.tar.gz: 640c14a743daed229da89d1b9f974cec6040ae442f6bb4fa858a328051e71f1f86e3aaeab512de004eb1641754b41fd2f13311be8e31f722b4a1edf823d4bb8e
6
+ metadata.gz: ee8590d5715087e826fe63853919972602161ddeddb6055a3585aef0dc6c2a9ce5ca6c1bcdc575703fb145abf41381ec1e460b5fa2c224fea16b0325555c7c47
7
+ data.tar.gz: 562fc016a5fe3e6312ecc1949a53764ebff4ae0a67cdfee903ca4c0f021ecdecd90fcedb690aba3acb35edb00ebf81960236315d383f33c12ef70a5b146deaaf
@@ -1,3 +1,12 @@
1
+ ## 1.1.4
2
+ - Replace v1.1.3 as it packaged the v1.1.1 jar and therefore does not have the fixes below
3
+ - Yank v1.1.3 from rubygems.org
4
+
5
+ ## 1.1.3
6
+ - Test for "Improve field regular expression accuracy to include prefix and suffix options", fixed in 1.1.1
7
+ - Fix for "Dissector mapping, field found in event but it was empty" caused by multibyte UTF8, bytes size vs string size
8
+ - Fix for "Bug: if a dissection is defined with a newline as part of a delimiter it is ignored."
9
+
1
10
  ## 1.1.2
2
11
  - Update gemspec summary
3
12
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012-2018 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.1.4
@@ -253,6 +253,11 @@ filter {
253
253
  * Default value is `{}`
254
254
 
255
255
  A hash of dissections of `field => value` +
256
+ [IMPORTANT]
257
+ Don't use an escaped newline `\n` in the value, it will be seen as two characters `\` + `n`+
258
+ Instead use actual line breaks in the config.+
259
+ Also use single quotes to define the value if it contains double quotes.
260
+
256
261
  A later dissection can be done on values from a previous dissection or they can be independent.
257
262
 
258
263
  For example
@@ -260,7 +265,9 @@ For example
260
265
  filter {
261
266
  dissect {
262
267
  mapping => {
263
- "message" => "%{field1} %{field2} %{description}"
268
+ # using an actual line break
269
+ "message" => '"%{field1}" "%{field2}"
270
+ "%{description}"'
264
271
  "description" => "%{field3} %{field4} %{field5}"
265
272
  }
266
273
  }
@@ -1,4 +1,4 @@
1
1
  # AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
2
2
 
3
3
  require 'jar_dependencies'
4
- require_jar('org.logstash.dissect', 'jruby-dissect-library', '1.1.2')
4
+ require_jar('org.logstash.dissect', 'jruby-dissect-library', '1.1.4')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-dissect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-07 00:00:00.000000000 Z
11
+ date: 2018-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -95,7 +95,7 @@ files:
95
95
  - logstash-filter-dissect.gemspec
96
96
  - spec/filters/dissect_spec.rb
97
97
  - spec/spec_helper.rb
98
- - vendor/jars/org/logstash/dissect/jruby-dissect-library/1.1.2/jruby-dissect-library-1.1.2.jar
98
+ - vendor/jars/org/logstash/dissect/jruby-dissect-library/1.1.4/jruby-dissect-library-1.1.4.jar
99
99
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
100
100
  licenses:
101
101
  - Apache License (2.0)
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.6.11
122
+ rubygems_version: 2.6.13
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Extracts unstructured event data into fields using delimiters