logstash-input-s3-local 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/inputs/s3.rb +3 -3
- data/logstash-input-s3.gemspec +1 -1
- data/spec/inputs/sincedb_spec.rb +2 -2
- data/spec/integration/s3_spec.rb +1 -1
- data/spec/support/helpers.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb34a81e648b89f9e29175f6b88f18607811c5fc7abbf04f44586a4797944999
|
4
|
+
data.tar.gz: 7cd537d709faefa79e732a7b6636c50a7500fdf021bd5c9062f55956be1c6e52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9009f400c6c4e884bbbd34181c3efbaf8e676c2629b3df6255c182f73d609beba042c1972b4def0e8f0156d08527873bc3f56dbc587fe3e78d7d586ce7de8e3
|
7
|
+
data.tar.gz: a58b392fc6b10d5f3d0c6f7d5be329c190b4424b3595677d73895e61b32bd4e91a1f27e7f6af182c2d87d9d684bab80e3e1b9acf927de15f1b48f60a6b9cfb4a
|
data/lib/logstash/inputs/s3.rb
CHANGED
@@ -22,10 +22,10 @@ Aws.eager_autoload!
|
|
22
22
|
#
|
23
23
|
# Each line from each file generates an event.
|
24
24
|
# Files ending in `.gz` are handled as gzip'ed files.
|
25
|
-
class LogStash::Inputs::
|
25
|
+
class LogStash::Inputs::S3L < LogStash::Inputs::Base
|
26
26
|
include LogStash::PluginMixins::AwsConfig::V2
|
27
27
|
|
28
|
-
config_name "
|
28
|
+
config_name "s3l"
|
29
29
|
|
30
30
|
default :codec, "plain"
|
31
31
|
|
@@ -439,4 +439,4 @@ class LogStash::Inputs::S3 < LogStash::Inputs::Base
|
|
439
439
|
end
|
440
440
|
end
|
441
441
|
end
|
442
|
-
end # class LogStash::Inputs::
|
442
|
+
end # class LogStash::Inputs::S3L
|
data/logstash-input-s3.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-s3-local'
|
4
|
-
s.version = '3.3.
|
4
|
+
s.version = '3.3.6'
|
5
5
|
s.licenses = ['Apache-2.0']
|
6
6
|
s.summary = "Streams events from files in a S3 bucket"
|
7
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"
|
data/spec/inputs/sincedb_spec.rb
CHANGED
@@ -4,9 +4,9 @@ require "logstash/inputs/s3"
|
|
4
4
|
require "stud/temporary"
|
5
5
|
require "fileutils"
|
6
6
|
|
7
|
-
describe LogStash::Inputs::
|
7
|
+
describe LogStash::Inputs::S3L::SinceDB::File do
|
8
8
|
let(:file) { Stud::Temporary.file.path }
|
9
|
-
subject { LogStash::Inputs::
|
9
|
+
subject { LogStash::Inputs::S3L::SinceDB::File.new(file) }
|
10
10
|
before do
|
11
11
|
FileUtils.touch(file)
|
12
12
|
end
|
data/spec/integration/s3_spec.rb
CHANGED
@@ -4,7 +4,7 @@ require "aws-sdk"
|
|
4
4
|
require "fileutils"
|
5
5
|
require_relative "../support/helpers"
|
6
6
|
|
7
|
-
describe LogStash::Inputs::
|
7
|
+
describe LogStash::Inputs::S3L, :integration => true, :s3 => true do
|
8
8
|
before do
|
9
9
|
Thread.abort_on_exception = true
|
10
10
|
|
data/spec/support/helpers.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-s3-local
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|