logstash-input-gcs 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -2
- data/lib/logstash/inputs/gcs.rb +2 -2
- data/logstash-input-gce.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56095b85b6f062a0d8307db8e08e74324e6842dc
|
4
|
+
data.tar.gz: 307408b0a65a9911085b04b4786500697508e1c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d29990787ae22e41a1c457ebe3ed3c725fcec86ac2c8185b94e0d75f3fb9dfdc7fe1eb37ce0fbecd910baa5da27821816e783fcb0e93d3a695723a423899b314
|
7
|
+
data.tar.gz: 2f329fede4a84b285c2a3606374c3f89d732da46294f222edb493876be5a24e30c79fc9224e002386dad5edb2fa0802aa716adf8af092b3603f839cc48ad68ec
|
data/Gemfile
CHANGED
data/lib/logstash/inputs/gcs.rb
CHANGED
@@ -292,7 +292,7 @@ class LogStash::Inputs::GCS < LogStash::Inputs::Base
|
|
292
292
|
end
|
293
293
|
|
294
294
|
def newer?(date)
|
295
|
-
puts "Check if newer #{date} #{read}"
|
295
|
+
puts "Check if newer #{date.strftime("%Y-%m-%d %H:%M:%S.%L %Z")} #{read.strftime("%Y-%m-%d %H:%M:%S.%L %Z")}"
|
296
296
|
date > read
|
297
297
|
end
|
298
298
|
|
@@ -308,7 +308,7 @@ class LogStash::Inputs::GCS < LogStash::Inputs::Base
|
|
308
308
|
|
309
309
|
def write(since = nil)
|
310
310
|
since = Time.now() if since.nil?
|
311
|
-
::File.open(@sincedb_path, 'w') { |file| file.write(since.
|
311
|
+
::File.open(@sincedb_path, 'w') { |file| file.write(since.strftime("%Y-%m-%d %H:%M:%S.%L %Z")) }
|
312
312
|
end
|
313
313
|
end
|
314
314
|
end
|
data/logstash-input-gce.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-gcs'
|
3
|
-
s.version = '2.0.
|
3
|
+
s.version = '2.0.9'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "This example input streams a string at a definable interval."
|
6
6
|
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"
|