logstash-filter-dissect 1.2.6 → 1.3.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 +4 -4
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/jruby-dissect-library_jars.rb +1 -1
- data/logstash-filter-dissect.gemspec +1 -1
- data/spec/filters/dissect_spec.rb +4 -3
- data/vendor/jar-dependencies/org/logstash/dissect/jruby-dissect-library/1.3.0/jruby-dissect-library-1.3.0.jar +0 -0
- metadata +3 -3
- data/vendor/jar-dependencies/org/logstash/dissect/jruby-dissect-library/1.2.6/jruby-dissect-library-1.2.6.jar +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 97eae16268976430784ea3f87f247548b72fcacb3412b85ae432af685b042bab
|
|
4
|
+
data.tar.gz: c44ddf6148d89cf431aa2e7d2924e86cde7761d3ff35b548079962b440b4c518
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a566963d3ba896ecf5a9bb42ae98b4fc1c4c7b95107c8b85e24c96a2b0a5be3c7dd0e9f592fc80e48350cee0b5b39a3161e97846c9c4540e06f6a7ecc7063c9
|
|
7
|
+
data.tar.gz: a696578138ee64e0f229452eed67f972b4fc977f76406eb324cc6ea909cb57a2ba76910ec8988c83b40310d0f09f1d5308c632e75544683103b00bdc51dc3b7f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 1.3.0
|
|
2
|
+
- Add JRuby 10 support: replace removed `NativeException` with `RaiseException`, source JRuby from Logstash vendor directory instead of pinning Maven version [#96](https://github.com/logstash-plugins/logstash-filter-dissect/pull/96)
|
|
3
|
+
|
|
1
4
|
## 1.2.6
|
|
2
5
|
- Re-packaging the plugin [#93](https://github.com/logstash-plugins/logstash-filter-dissect/pull/93)
|
|
3
6
|
- Removed `jar-dependencies` dependency [#91](https://github.com/logstash-plugins/logstash-filter-dissect/pull/91)
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-filter-dissect'
|
|
3
|
-
s.version = '1.
|
|
3
|
+
s.version = '1.3.0' # version will be checked against VERSION file by `rake vendor`
|
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
|
5
5
|
s.summary = "Extracts unstructured event data into fields using delimiters"
|
|
6
6
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
require 'spec_helper'
|
|
3
|
+
require 'bigdecimal'
|
|
3
4
|
require "logstash/filters/dissect"
|
|
4
5
|
|
|
5
6
|
describe LogStash::Filters::Dissect do
|
|
@@ -184,7 +185,7 @@ describe LogStash::Filters::Dissect do
|
|
|
184
185
|
CONFIG
|
|
185
186
|
end
|
|
186
187
|
sample({"big_number" => "43947404257507186289.345324"}) do
|
|
187
|
-
expect(subject.get("big_number")).to eq(BigDecimal
|
|
188
|
+
expect(subject.get("big_number")).to eq(BigDecimal("43947404257507186289.345324"))
|
|
188
189
|
end
|
|
189
190
|
end
|
|
190
191
|
|
|
@@ -245,7 +246,7 @@ describe LogStash::Filters::Dissect do
|
|
|
245
246
|
context "when field is defined as Append and Indirect (+&)" do
|
|
246
247
|
let(:config) { {"mapping" => {"message" => "%{+×tamp}"}}}
|
|
247
248
|
it "raises an error in register" do
|
|
248
|
-
msg =
|
|
249
|
+
msg = /Field cannot prefix with both Append and Indirect Prefix .+/
|
|
249
250
|
expect{filter.register}.to raise_exception(LogStash::FieldFormatError, msg)
|
|
250
251
|
end
|
|
251
252
|
end
|
|
@@ -253,7 +254,7 @@ describe LogStash::Filters::Dissect do
|
|
|
253
254
|
context "when field is defined as Indirect and Append (&+)" do
|
|
254
255
|
let(:config) { {"mapping" => {"message" => "%{&+timestamp}"}}}
|
|
255
256
|
it "raises an error in register" do
|
|
256
|
-
msg =
|
|
257
|
+
msg = /Field cannot prefix with both Append and Indirect Prefix .+/
|
|
257
258
|
expect{filter.register}.to raise_exception(LogStash::FieldFormatError, msg)
|
|
258
259
|
end
|
|
259
260
|
end
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-dissect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-03-26 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: logstash-core-plugin-api
|
|
@@ -81,7 +81,7 @@ files:
|
|
|
81
81
|
- spec/filters/dissect_spec.rb
|
|
82
82
|
- spec/fixtures/dissect_tests.json
|
|
83
83
|
- spec/spec_helper.rb
|
|
84
|
-
- vendor/jar-dependencies/org/logstash/dissect/jruby-dissect-library/1.
|
|
84
|
+
- vendor/jar-dependencies/org/logstash/dissect/jruby-dissect-library/1.3.0/jruby-dissect-library-1.3.0.jar
|
|
85
85
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
|
86
86
|
licenses:
|
|
87
87
|
- Apache License (2.0)
|