logstash-filter-foreach 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/filters/foreach.rb +3 -1
- data/logstash-filter-foreach.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: c0013784d0b1f6e2dedf2823546d11617474d297
|
4
|
+
data.tar.gz: 2e94523b94c309dcac3510a0622ff0d52e24b021
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cfe0c1b96cf6fc6b31e5398f007c616b2e9240fe05a8bfe3f82ff4e4182048291ab5604d7fc17865a73eaf88eb4c61497c923c1b46de689f19dd04f34064b14
|
7
|
+
data.tar.gz: e6e3db2bd30f62de57e189225ada08477045c6e53483c7dca93a485a9eba4530534f096e7fd317d5e51eeb989b9db4da96aa8287c5707db4540226c338117aa9
|
@@ -285,7 +285,9 @@ class LogStash::Filters::Foreach::Element
|
|
285
285
|
|
286
286
|
def add_join_fields_values(event)
|
287
287
|
@configuration.join_fields.each do |join_field|
|
288
|
-
@join_fields[join_field] += [event.get(join_field)].flatten
|
288
|
+
@join_fields[join_field] += [event.get(join_field)].flatten
|
289
|
+
@join_fields[join_field].uniq!
|
290
|
+
@join_fields[join_field].compact!
|
289
291
|
end
|
290
292
|
end
|
291
293
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-filter-foreach'
|
3
|
-
s.version = '0.2.
|
3
|
+
s.version = '0.2.5'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = 'Process filters for every array item'
|
6
6
|
s.description = 'Plugin splits event for every item in array, then you could process other filters for every item and then join event back'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-foreach
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IIIEII
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-03-
|
12
|
+
date: 2018-03-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|