logstash-filter-foreach 0.2.3 → 0.2.4

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: c4dd177028408de6e56bf069a42bba2bacd89364
4
- data.tar.gz: ce69da20c37d7121b650cb4258e1f329887abda4
3
+ metadata.gz: ccccd0a650c59740ca3a43ca8030f70807894a7f
4
+ data.tar.gz: cba8a8328ad041cd7a1dd811423ee1e3b24b35d1
5
5
  SHA512:
6
- metadata.gz: 27aee6615ab0eeda4f41de716975e7fe8c9dfbfc507ad455bb1f043f68cacb174265ce77c6450fba117470ead6d1fab0c0baf216a542c3fd6708d1357590b6c9
7
- data.tar.gz: cf2e7fc701fdac53d74025ebcd6fd60fd3ca48d81a5e27951d074a29ce0857b7dd621c7fd8e9f9910e0e2ec7b3643374efdf5b4afd8994be9a4100d13ccd3807
6
+ metadata.gz: 90d1fbf1b423270d4bfe95ffdd21b529ccede5d83a30fcdca825a5325cc3401df62b71e8d9472c87dda334db24be502c5652b6776946df6fe429e92c2eb759c4
7
+ data.tar.gz: 7f615d851dde8655d64fc19816b6e04000bcd0af57c3221e0fc56ea5cb0f766a885236c49e2402ec0d2a74efa8c864b147ff24b063996459ff3b4eb194509e9a
@@ -285,7 +285,7 @@ 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.uniq.compact
289
289
  end
290
290
  end
291
291
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-foreach'
3
- s.version = '0.2.3'
3
+ s.version = '0.2.4'
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.3
4
+ version: 0.2.4
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-02-16 00:00:00.000000000 Z
12
+ date: 2018-03-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  requirement: !ruby/object:Gem::Requirement