logstash-input-s3 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/logstash-input-s3.gemspec +1 -1
- data/spec/inputs/s3_spec.rb +4 -4
- 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: a002dc1ea36e023ee6bfad8c976917cffa0cd310
|
4
|
+
data.tar.gz: e02743036e474ae2dab0a0e875ee107417d7455e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 038f9bf1abfa97e1333f0180ceacd24220c47fc77c1a868feb95db927546c624b671374815bc2673b60fb21ace7f9c49e90b39dba9fe362349d73ecdccec46e3
|
7
|
+
data.tar.gz: 229e068bb90fff6589bd887d940559acf8993905e8d831d24140547a474ea2ba5019a3a8b97ec1bba614284666fe1499d79c1f421f5d2f8089323247ffe5c7fa
|
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'
|
4
|
-
s.version = '0.1.
|
4
|
+
s.version = '0.1.8'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Stream events from files from 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/plugin install gemname. This gem is not a stand-alone program"
|
data/spec/inputs/s3_spec.rb
CHANGED
@@ -172,7 +172,7 @@ describe LogStash::Inputs::S3 do
|
|
172
172
|
|
173
173
|
context 'compressed' do
|
174
174
|
let(:log) { double(:key => 'log.gz', :last_modified => Time.now - 2 * day) }
|
175
|
-
let(:log_file) { File.join('
|
175
|
+
let(:log_file) { File.join(File.dirname(__FILE__), '..', 'fixtures', 'compressed.log.gz') }
|
176
176
|
|
177
177
|
it 'should process events' do
|
178
178
|
events = fetch_events(settings)
|
@@ -181,7 +181,7 @@ describe LogStash::Inputs::S3 do
|
|
181
181
|
end
|
182
182
|
|
183
183
|
context 'plain text' do
|
184
|
-
let(:log_file) { File.join('
|
184
|
+
let(:log_file) { File.join(File.dirname(__FILE__), '..', 'fixtures', 'uncompressed.log') }
|
185
185
|
|
186
186
|
it 'should process events' do
|
187
187
|
events = fetch_events(settings)
|
@@ -190,7 +190,7 @@ describe LogStash::Inputs::S3 do
|
|
190
190
|
end
|
191
191
|
|
192
192
|
context 'encoded' do
|
193
|
-
let(:log_file) { File.join('
|
193
|
+
let(:log_file) { File.join(File.dirname(__FILE__), '..', 'fixtures', 'invalid_utf8.log') }
|
194
194
|
|
195
195
|
it 'should work with invalid utf-8 log event' do
|
196
196
|
events = fetch_events(settings)
|
@@ -199,7 +199,7 @@ describe LogStash::Inputs::S3 do
|
|
199
199
|
end
|
200
200
|
|
201
201
|
context 'cloudfront' do
|
202
|
-
let(:log_file) { File.join('
|
202
|
+
let(:log_file) { File.join(File.dirname(__FILE__), '..', 'fixtures', 'cloudfront.log') }
|
203
203
|
|
204
204
|
it 'should extract metadata from cloudfront log' do
|
205
205
|
events = fetch_events(settings)
|