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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccccd0a650c59740ca3a43ca8030f70807894a7f
4
- data.tar.gz: cba8a8328ad041cd7a1dd811423ee1e3b24b35d1
3
+ metadata.gz: c0013784d0b1f6e2dedf2823546d11617474d297
4
+ data.tar.gz: 2e94523b94c309dcac3510a0622ff0d52e24b021
5
5
  SHA512:
6
- metadata.gz: 90d1fbf1b423270d4bfe95ffdd21b529ccede5d83a30fcdca825a5325cc3401df62b71e8d9472c87dda334db24be502c5652b6776946df6fe429e92c2eb759c4
7
- data.tar.gz: 7f615d851dde8655d64fc19816b6e04000bcd0af57c3221e0fc56ea5cb0f766a885236c49e2402ec0d2a74efa8c864b147ff24b063996459ff3b4eb194509e9a
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.uniq.compact
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.4'
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
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-02 00:00:00.000000000 Z
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