logstash-filter-foreach 0.1.0 → 0.1.1

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: a0886340fbbf9bc4309412b39c1027727228b89b
4
- data.tar.gz: 70c2b1cb1e19aed3582ef413f1a13a160f680721
3
+ metadata.gz: 7627fd3a9ff82fcd48377c29035fb258be9939af
4
+ data.tar.gz: e0b9190a7d90a8f01ec34efd954e39cfd52ef4c1
5
5
  SHA512:
6
- metadata.gz: d0d562ddc6f0f2e59dd478a8dc34a248fe2b1e39020664cdfdab50a73f2120fdbbc2a3f15db54ede121ac862da2b1df0283ed419163c3d7d7a5a80afd3a56155
7
- data.tar.gz: e292a5fd0c3f74746a87da61d9574013f6337b234d6a3bb7c20f0adec949dc27cc540d2e37e32e4cd959aab020693b4af6592fb74bbd694f258c551dae5d1cdc
6
+ metadata.gz: 157fce21afc24a14a42fc742d2594af0f3413bd075f35fafc37b5d11267eea2ed3564dc544078a079adbc32e5fd0886dbdd3a31f8ddae490b52f39230bcf4be7
7
+ data.tar.gz: c0f6847970d94b37a710620154a20cea883a13291cbd6e0c34c6c75ce73b0bd73a2a8155c986b050d4792d5fd7bc61c8747077cf866fcb962075593a3ce8a4ad
@@ -68,9 +68,7 @@ class LogStash::Filters::Foreach < LogStash::Filters::Base
68
68
  end
69
69
 
70
70
 
71
- end
72
-
73
- # def register
71
+ end # def register
74
72
 
75
73
  public
76
74
  def filter(event)
@@ -206,9 +204,7 @@ class LogStash::Filters::Foreach < LogStash::Filters::Base
206
204
  filter_matched(event)
207
205
  end
208
206
 
209
- end
210
-
211
- # def filter
207
+ end # def filter
212
208
 
213
209
  def flush(options = {})
214
210
  events_to_flush = []
@@ -232,14 +228,17 @@ class LogStash::Filters::Foreach < LogStash::Filters::Base
232
228
  end
233
229
  return events_to_flush
234
230
 
235
- end
236
-
237
- # def flush
231
+ end # def flush
238
232
 
239
233
  def periodic_flush
240
234
  true
241
235
  end
242
236
 
237
+ public
238
+ def close
239
+ @@configuration_data = {}
240
+ end
241
+
243
242
  end # class LogStash::Filters::Foreach
244
243
 
245
244
  # Element of "event_data"
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-foreach'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - IIIEII