logstash-filter-date 2.1.6 → 3.0.0

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: b55acd38d75625d5aad84145a3ba0543b967e7c2
4
- data.tar.gz: 468b66d39fe5bb0e766787f222618b76191d2a07
3
+ metadata.gz: ce4c40f91ec18b26069a407aeccc148174f7796d
4
+ data.tar.gz: 2ee04b70cd0c1c20c85ac347430950465b609df8
5
5
  SHA512:
6
- metadata.gz: 086fc7bf00a6c5e7346ee65b20ba5d998f9aaba9a9995ed30af065c8e7957c51a34bae96af80d127c7d2c95122c63d52f8bdb51b74649e47b6fee48f32f36dcf
7
- data.tar.gz: 5e3521439c348673c5ad1d23dacbe770690db36a84cbd739ae2f37f0cd1c34a4d7041101ae3436319f80cde3916b3e71ad37560ddd16f394260f057e3a925fe0
6
+ metadata.gz: 49a7051b4e41344e923cce3084ae481694671ec56f7080f8bf5681ea8f7468c42052296d166502ed6b52ed83232eb2e5ae1bd0bdcfb253020a96f8247ed9bd16
7
+ data.tar.gz: 3ce7f31df2d6e4850cddee98d561d9ae65b6770adc9bd317a35b1570c47fabfd5db4ba1704b767a9089f235bc9dcce3a3aba670efa4684aed4ef3a272e3da93d
@@ -1,3 +1,5 @@
1
+ ## 3.0.0
2
+ - Update the plugin to the version 2.0 of the plugin api, this change is required for Logstash 5.0 compatibility. See https://github.com/elastic/logstash/issues/5141
1
3
  # 2.1.6
2
4
  - bugfix: Fails to parse a timestamp without year that falls in DST switchover for CET #63 (fix for #62)
3
5
  # 2.1.5
data/Gemfile CHANGED
@@ -1,2 +1,4 @@
1
1
  source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in logstash-mass_effect.gemspec
2
4
  gemspec
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2015 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Build
4
- Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Filters/job/logstash-plugin-filter-date-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Filters/job/logstash-plugin-filter-date-unit/)
3
+ [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-filter-date.svg)](https://travis-ci.org/logstash-plugins/logstash-filter-date)
5
4
 
6
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
7
6
 
@@ -56,7 +55,12 @@ gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
56
55
  ```
57
56
  - Install plugin
58
57
  ```sh
58
+ # Logstash 2.3 and higher
59
+ bin/logstash-plugin install --no-verify
60
+
61
+ # Prior to Logstash 2.3
59
62
  bin/plugin install --no-verify
63
+
60
64
  ```
61
65
  - Run Logstash with your plugin
62
66
  ```sh
@@ -74,7 +78,12 @@ gem build logstash-filter-awesome.gemspec
74
78
  ```
75
79
  - Install the plugin from the Logstash home
76
80
  ```sh
77
- bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
81
+ # Logstash 2.3 and higher
82
+ bin/logstash-plugin install --no-verify
83
+
84
+ # Prior to Logstash 2.3
85
+ bin/plugin install --no-verify
86
+
78
87
  ```
79
88
  - Start Logstash and proceed to test the plugin
80
89
 
@@ -308,14 +308,14 @@ class LogStash::Filters::Date < LogStash::Filters::Base
308
308
  end
309
309
 
310
310
  def filter(event)
311
- @logger.debug? && @logger.debug("Date filter: received event", :type => event["type"])
311
+ @logger.debug? && @logger.debug("Date filter: received event", :type => event.get("type"))
312
312
 
313
313
  @parsers.each do |field, fieldparsers|
314
314
  @logger.debug? && @logger.debug("Date filter looking for field",
315
- :type => event["type"], :field => field)
315
+ :type => event.get("type"), :field => field)
316
316
  next unless event.include?(field)
317
317
 
318
- fieldvalues = event[field]
318
+ fieldvalues = event.get(field)
319
319
  fieldvalues = [fieldvalues] if !fieldvalues.is_a?(Array)
320
320
  fieldvalues.each do |value|
321
321
  next if value.nil?
@@ -343,9 +343,9 @@ class LogStash::Filters::Date < LogStash::Filters::Base
343
343
  raise last_exception unless success
344
344
 
345
345
  # Convert joda DateTime to a ruby Time
346
- event[@target] = LogStash::Timestamp.at(epochmillis / 1000, (epochmillis % 1000) * 1000)
346
+ event.set(@target, LogStash::Timestamp.at(epochmillis / 1000, (epochmillis % 1000) * 1000))
347
347
 
348
- @logger.debug? && @logger.debug("Date parsing done", :value => value, :timestamp => event[@target])
348
+ @logger.debug? && @logger.debug("Date parsing done", :value => value, :timestamp => event.get(@target))
349
349
  filter_matched(event)
350
350
  rescue StandardError, JavaException => e
351
351
  @logger.warn("Failed parsing date from field", :field => field,
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-date'
4
- s.version = '2.1.6'
4
+ s.version = '3.0.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "The date filter is used for parsing dates from fields, and then using that date or timestamp as the logstash timestamp for the event."
7
- s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
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"
8
8
  s.authors = ["Elastic"]
9
9
  s.email = 'info@elastic.co'
10
10
  s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "filter" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
23
+ s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
24
24
  s.add_development_dependency 'logstash-input-generator'
25
25
  s.add_development_dependency 'logstash-codec-json'
26
26
  s.add_development_dependency 'logstash-output-null'
@@ -68,8 +68,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
68
68
  times.each do |input, output|
69
69
  sample("mydate" => input) do
70
70
  begin
71
- insist { subject["mydate"] } == input
72
- insist { subject["@timestamp"].time } == Time.iso8601(output).utc
71
+ insist { subject.get("mydate") } == input
72
+ insist { subject.get("@timestamp").time } == Time.iso8601(output).utc
73
73
  rescue
74
74
  #require "pry"; binding.pry
75
75
  raise
@@ -97,8 +97,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
97
97
  }
98
98
  times.each do |input, output|
99
99
  sample("mydate" => input) do
100
- insist { subject["mydate"] } == input
101
- insist { subject["@timestamp"].time } == Time.iso8601(output).utc
100
+ insist { subject.get("mydate") } == input
101
+ insist { subject.get("@timestamp").time } == Time.iso8601(output).utc
102
102
  end
103
103
  end # times.each
104
104
  end
@@ -123,15 +123,15 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
123
123
  }
124
124
  times.each do |input, output|
125
125
  sample("mydate" => input) do
126
- insist { subject["mydate"] } == input
127
- insist { subject["@timestamp"].time } == Time.iso8601(output).utc
126
+ insist { subject.get("mydate") } == input
127
+ insist { subject.get("@timestamp").time } == Time.iso8601(output).utc
128
128
  end
129
129
  end # times.each
130
130
 
131
131
  #Invalid value should not be evaluated to zero (String#to_i madness)
132
132
  sample("mydate" => "%{bad_value}") do
133
- insist { subject["mydate"] } == "%{bad_value}"
134
- insist { subject["@timestamp"] } != Time.iso8601("1970-01-01T00:00:00.000Z").utc
133
+ insist { subject.get("mydate") } == "%{bad_value}"
134
+ insist { subject.get("@timestamp") } != Time.iso8601("1970-01-01T00:00:00.000Z").utc
135
135
  end
136
136
  end
137
137
 
@@ -152,14 +152,14 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
152
152
 
153
153
  #Support float values
154
154
  sample("mydate" => 1350414944.123456) do
155
- insist { subject["mydate"] } == 1350414944.123456
156
- insist { subject["@timestamp"].time } == Time.iso8601("2012-10-16T12:15:44.123-07:00").utc
155
+ insist { subject.get("mydate") } == 1350414944.123456
156
+ insist { subject.get("@timestamp").time } == Time.iso8601("2012-10-16T12:15:44.123-07:00").utc
157
157
  end
158
158
 
159
159
  #Invalid value should not be evaluated to zero (String#to_i madness)
160
160
  sample("mydate" => "%{bad_value}") do
161
- insist { subject["mydate"] } == "%{bad_value}"
162
- insist { subject["@timestamp"] } != Time.iso8601("1970-01-01T00:00:00.000Z").utc
161
+ insist { subject.get("mydate") } == "%{bad_value}"
162
+ insist { subject.get("@timestamp") } != Time.iso8601("1970-01-01T00:00:00.000Z").utc
163
163
  end
164
164
  end
165
165
 
@@ -185,8 +185,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
185
185
  }
186
186
  times.each do |input, output|
187
187
  sample("mydate" => input) do
188
- insist { subject["mydate"] } == input
189
- insist { subject["@timestamp"].time } == Time.iso8601(output)
188
+ insist { subject.get("mydate") } == input
189
+ insist { subject.get("@timestamp").time } == Time.iso8601(output)
190
190
  end
191
191
  end # times.each
192
192
  end
@@ -255,8 +255,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
255
255
  time = "2001-09-09T01:46:40.000Z"
256
256
 
257
257
  sample("mydate" => time) do
258
- insist { subject["mydate"] } == time
259
- insist { subject["@timestamp"].time } == Time.iso8601(time).utc
258
+ insist { subject.get("mydate") } == time
259
+ insist { subject.get("@timestamp").time } == Time.iso8601(time).utc
260
260
  end
261
261
  end
262
262
 
@@ -271,7 +271,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
271
271
  CONFIG
272
272
 
273
273
  sample("data" => { "deep" => "2013-01-01T00:00:00.000Z" }) do
274
- insist { subject["@timestamp"].time } == Time.iso8601("2013-01-01T00:00:00.000Z").utc
274
+ insist { subject.get("@timestamp").time } == Time.iso8601("2013-01-01T00:00:00.000Z").utc
275
275
  end
276
276
  end
277
277
 
@@ -286,7 +286,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
286
286
  CONFIG
287
287
 
288
288
  sample("thedate" => "2013/Apr/21") do
289
- insist { subject["@timestamp"] } != "2013-04-21T00:00:00.000Z"
289
+ insist { subject.get("@timestamp") } != "2013-04-21T00:00:00.000Z"
290
290
  end
291
291
  end
292
292
 
@@ -301,8 +301,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
301
301
  CONFIG
302
302
 
303
303
  sample("thedate" => "2013/04/21") do
304
- insist { subject["@timestamp"] } != "2013-04-21T00:00:00.000Z"
305
- insist { subject["tags"] } == ["tagged"]
304
+ insist { subject.get("@timestamp") } != "2013-04-21T00:00:00.000Z"
305
+ insist { subject.get("tags") } == ["tagged"]
306
306
  end
307
307
  end
308
308
 
@@ -317,8 +317,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
317
317
  CONFIG
318
318
 
319
319
  sample("thedate" => "2013/Apr/21") do
320
- insist { subject["@timestamp"] } != "2013-04-21T00:00:00.000Z"
321
- reject { subject["tags"] }.include? "tagged"
320
+ insist { subject.get("@timestamp") } != "2013-04-21T00:00:00.000Z"
321
+ reject { subject.get("tags") }.include? "tagged"
322
322
  end
323
323
  end
324
324
 
@@ -333,8 +333,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
333
333
  CONFIG
334
334
 
335
335
  sample("thedate" => "2013/Apr/21") do
336
- insist { subject["@timestamp"] } != "2013-04-21T00:00:00.000Z"
337
- insist { subject["tags"] }.include? "date_failed"
336
+ insist { subject.get("@timestamp") } != "2013-04-21T00:00:00.000Z"
337
+ insist { subject.get("tags") }.include? "date_failed"
338
338
  end
339
339
  end
340
340
 
@@ -356,8 +356,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
356
356
  }
357
357
  times.each do |input, output|
358
358
  sample("mydate" => input) do
359
- insist { subject["mydate"] } == input
360
- insist { subject["@timestamp"].time } == Time.iso8601(output).utc
359
+ insist { subject.get("mydate") } == input
360
+ insist { subject.get("@timestamp").time } == Time.iso8601(output).utc
361
361
  end
362
362
  end # times.each
363
363
  end
@@ -380,8 +380,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
380
380
  }
381
381
  times.each do |input, output|
382
382
  sample("mydate" => input, "mytz" => "America/Los_Angeles") do
383
- insist { subject["mydate"] } == input
384
- insist { subject["@timestamp"].time } == Time.iso8601(output).utc
383
+ insist { subject.get("mydate") } == input
384
+ insist { subject.get("@timestamp").time } == Time.iso8601(output).utc
385
385
  end
386
386
  end # times.each
387
387
  end
@@ -403,8 +403,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
403
403
  end
404
404
 
405
405
  sample "2016 Mar 26 02:00:37" do
406
- insist { subject["tags"] } != ["_dateparsefailure"]
407
- insist { subject["@timestamp"].to_s } == "2016-03-26T01:00:37.000Z"
406
+ insist { subject.get("tags") } != ["_dateparsefailure"]
407
+ insist { subject.get("@timestamp").to_s } == "2016-03-26T01:00:37.000Z"
408
408
  end
409
409
  end
410
410
 
@@ -422,7 +422,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
422
422
  CONFIG
423
423
 
424
424
  sample("message" => "Sun Jun 02 20:38:03", "mytz" => "UTC") do
425
- insist { subject["@timestamp"].year } == Time.now.year
425
+ insist { subject.get("@timestamp").year } == Time.now.year
426
426
  end
427
427
  end
428
428
 
@@ -443,7 +443,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
443
443
  end
444
444
 
445
445
  sample("message" => "Dec 31 23:59:00", "mytz" => "UTC") do
446
- insist { subject["@timestamp"].year } == 2013
446
+ insist { subject.get("@timestamp").year } == 2013
447
447
  end
448
448
  end
449
449
 
@@ -464,7 +464,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
464
464
  end
465
465
 
466
466
  sample( "message" => "Jan 01 01:00:00", "mytz" => "UTC") do
467
- insist { subject["@timestamp"].year } == 2014
467
+ insist { subject.get("@timestamp").year } == 2014
468
468
  end
469
469
  end
470
470
 
@@ -485,8 +485,8 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
485
485
  end
486
486
 
487
487
  sample "Mar 26 02:00:37" do
488
- insist { subject["tags"] } != ["_dateparsefailure"]
489
- insist { subject["@timestamp"].to_s } == "2016-03-26T01:00:37.000Z"
488
+ insist { subject.get("tags") } != ["_dateparsefailure"]
489
+ insist { subject.get("@timestamp").to_s } == "2016-03-26T01:00:37.000Z"
490
490
  end
491
491
  end
492
492
  end
@@ -502,7 +502,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
502
502
  CONFIG
503
503
 
504
504
  sample "Sun Jun 02 20:38:03" do
505
- insist { subject["@timestamp"].year } == Time.now.year
505
+ insist { subject.get("@timestamp").year } == Time.now.year
506
506
  end
507
507
  end
508
508
 
@@ -523,7 +523,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
523
523
  end
524
524
 
525
525
  sample "Dec 31 23:59:00" do
526
- insist { subject["@timestamp"].year } == 2013
526
+ insist { subject.get("@timestamp").year } == 2013
527
527
  end
528
528
  end
529
529
 
@@ -544,7 +544,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
544
544
  end
545
545
 
546
546
  sample "Jan 01 01:00:00" do
547
- insist { subject["@timestamp"].year } == 2014
547
+ insist { subject.get("@timestamp").year } == 2014
548
548
  end
549
549
  end
550
550
 
@@ -560,7 +560,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
560
560
  CONFIG
561
561
 
562
562
  sample "14 juillet 1789" do
563
- insist { subject["@timestamp"].time } == Time.iso8601("1789-07-14T00:00:00.000Z").utc
563
+ insist { subject.get("@timestamp").time } == Time.iso8601("1789-07-14T00:00:00.000Z").utc
564
564
  end
565
565
  end
566
566
 
@@ -576,7 +576,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
576
576
  CONFIG
577
577
 
578
578
  sample "14 juillet 1789" do
579
- insist { subject["@timestamp"].time } == Time.iso8601("1789-07-14T00:00:00.000Z").utc
579
+ insist { subject.get("@timestamp").time } == Time.iso8601("1789-07-14T00:00:00.000Z").utc
580
580
  end
581
581
  end
582
582
 
@@ -592,7 +592,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
592
592
  CONFIG
593
593
 
594
594
  sample "14 juillet 1789" do
595
- insist { subject["@timestamp"].time } == Time.iso8601("1789-07-14T00:00:00.000Z").utc
595
+ insist { subject.get("@timestamp").time } == Time.iso8601("1789-07-14T00:00:00.000Z").utc
596
596
  end
597
597
  end
598
598
 
@@ -608,7 +608,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
608
608
  CONFIG
609
609
 
610
610
  sample("timestamp" => "25/Mar/2013:20:33:56 +0000") do
611
- insist { subject["@timestamp"].time } == Time.iso8601("2013-03-25T20:33:56.000Z")
611
+ insist { subject.get("@timestamp").time } == Time.iso8601("2013-03-25T20:33:56.000Z")
612
612
  end
613
613
  end
614
614
 
@@ -626,7 +626,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
626
626
  CONFIG
627
627
 
628
628
  sample "01 September 2014" do
629
- insist { subject["@timestamp"].time } == Time.iso8601("2014-09-01T00:00:00.000Z").utc
629
+ insist { subject.get("@timestamp").time } == Time.iso8601("2014-09-01T00:00:00.000Z").utc
630
630
  end
631
631
  #Restore default locale
632
632
  java.util.Locale.setDefault(default_locale)
@@ -652,7 +652,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
652
652
  CONFIG
653
653
 
654
654
  sample "Sun Jun 02 20:38:03" do
655
- insist { subject["@timestamp"].year } == Time.now.year
655
+ insist { subject.get("@timestamp").year } == Time.now.year
656
656
  end
657
657
  end
658
658
 
@@ -672,7 +672,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
672
672
  end
673
673
 
674
674
  sample "Dec 31 23:59:00" do
675
- insist { subject["@timestamp"].year } == 2013
675
+ insist { subject.get("@timestamp").year } == 2013
676
676
  end
677
677
  end
678
678
 
@@ -692,7 +692,7 @@ RUBY_ENGINE == "jruby" and describe LogStash::Filters::Date do
692
692
  end
693
693
 
694
694
  sample "Jan 01 01:00:00" do
695
- insist { subject["@timestamp"].year } == 2014
695
+ insist { subject.get("@timestamp").year } == 2014
696
696
  end
697
697
  end
698
698
  end
metadata CHANGED
@@ -1,86 +1,88 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-date
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-30 00:00:00.000000000 Z
11
+ date: 2016-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: logstash-core-plugin-api
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
- version: '1.0'
19
- name: logstash-core-plugin-api
20
- prerelease: false
19
+ version: '2.0'
21
20
  type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: logstash-input-generator
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - ">="
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
- name: logstash-input-generator
34
- prerelease: false
35
34
  type: :development
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: logstash-codec-json
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - ">="
45
46
  - !ruby/object:Gem::Version
46
47
  version: '0'
47
- name: logstash-codec-json
48
- prerelease: false
49
48
  type: :development
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: logstash-output-null
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - ">="
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0'
61
- name: logstash-output-null
62
- prerelease: false
63
62
  type: :development
63
+ prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
+ name: logstash-devutils
70
71
  requirement: !ruby/object:Gem::Requirement
71
72
  requirements:
72
73
  - - ">="
73
74
  - !ruby/object:Gem::Version
74
75
  version: '0'
75
- name: logstash-devutils
76
- prerelease: false
77
76
  type: :development
77
+ prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
83
+ description: This gem is a Logstash plugin required to be installed on top of the
84
+ Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
85
+ gem is not a stand-alone program
84
86
  email: info@elastic.co
85
87
  executables: []
86
88
  extensions: []
@@ -101,7 +103,7 @@ licenses:
101
103
  metadata:
102
104
  logstash_plugin: 'true'
103
105
  logstash_group: filter
104
- post_install_message:
106
+ post_install_message:
105
107
  rdoc_options: []
106
108
  require_paths:
107
109
  - lib
@@ -116,10 +118,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
118
  - !ruby/object:Gem::Version
117
119
  version: '0'
118
120
  requirements: []
119
- rubyforge_project:
120
- rubygems_version: 2.4.8
121
- signing_key:
121
+ rubyforge_project:
122
+ rubygems_version: 2.5.1
123
+ signing_key:
122
124
  specification_version: 4
123
- summary: The date filter is used for parsing dates from fields, and then using that date or timestamp as the logstash timestamp for the event.
125
+ summary: The date filter is used for parsing dates from fields, and then using that
126
+ date or timestamp as the logstash timestamp for the event.
124
127
  test_files:
125
128
  - spec/filters/date_spec.rb