logstash-filter-split 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/docs/index.asciidoc +1 -1
- data/lib/logstash/filters/split.rb +1 -1
- data/logstash-filter-split.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 310d77d71998a2f9449694e33470dc9c511bcffd
|
4
|
+
data.tar.gz: a5edd1fafda58318f37f654aff75d9ecd7c4f673
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21444628296418cb1ea8796bf128981dfd8324bc22ed8895b5e0bfb4547839a993324251c370aa075390f994ca2ead72dfa742a9a191b4afda3f7291904b94d0
|
7
|
+
data.tar.gz: 64148e84ad8a29d06cb18d0b57a126db459a161c6a3441b4f93d6e751a35fff132a2e688526e81632057c19aebe3d5f8edf5b457051273172a2d06d4899fc255
|
data/CHANGELOG.md
CHANGED
data/docs/index.asciidoc
CHANGED
@@ -70,7 +70,7 @@ class LogStash::Filters::Split < LogStash::Filters::Base
|
|
70
70
|
original_value = event.get(@field)
|
71
71
|
|
72
72
|
if original_value.is_a?(Array)
|
73
|
-
splits = original_value
|
73
|
+
splits = target.nil? ? event.remove(@field) : original_value
|
74
74
|
elsif original_value.is_a?(String)
|
75
75
|
# Using -1 for 'limit' on String#split makes ruby not drop trailing empty
|
76
76
|
# splits.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-filter-split'
|
4
|
-
s.version = '3.1.
|
4
|
+
s.version = '3.1.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "The split filter is for splitting multiline messages into separate events."
|
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/logstash-plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-split
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
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
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|