logstash-output-s3 4.0.0 → 4.0.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: 1640533d698e2ce25c2bdc426ab18d7a7447bdb5
4
- data.tar.gz: 0af7083fdb8848e0057e8ef537a20e884add3208
3
+ metadata.gz: ba2d9ff2b3f773168a40cd195d05d42c4ea87eb7
4
+ data.tar.gz: bf09bba8aa48c46fbcbb49dd81d4c63c64bb464a
5
5
  SHA512:
6
- metadata.gz: 8d8f14939c20adef00b8def8a4ef1cfed06a6f577ece6d741def4b7fc383febce068a2e49a4a91e41fc3ef18aa23ffcbd5fe7d9eb43d3028672bd3bf0656911d
7
- data.tar.gz: c9b39d6715391c33fa5a4fcf0f0485bd4a197e1a5abb000460552b1011ceb9c31c1be3e9597081db607c84782bcf51d68cc82b970e58159fd83e1807716d1611
6
+ metadata.gz: 3ef3aeec9e810643fa4193063f815aa23b1afb4025b1d9930f3abef54ae816f3d1fc1b0be63afb3d25c58c6cb19fe01c8b7de5caee0162305f2802851203adbc
7
+ data.tar.gz: d33c6f1185a709cac31f52464083b1a562ea0848e23282f6a7f9da18527f02f4cc9a6a143fc9ad910637d28afedaf5131441094442b02b684adb77f39957319a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 4.0.1
2
+ - Improved Error logging for S3 validation. Now specific S3 perms errors are logged
3
+
1
4
  ## 4.0.0
2
5
  - This version is a complete rewrite over version 3.0.0 See #103
3
6
  - This Plugin now uses the V2 version of the SDK, this make sure we receive the latest updates and changes.
@@ -7,11 +7,17 @@ module LogStash
7
7
  module Outputs
8
8
  class S3
9
9
  class WriteBucketPermissionValidator
10
+ include ::LogStash::Util::Loggable
11
+
10
12
  def self.valid?(bucket_resource)
11
13
  begin
12
14
  upload_test_file(bucket_resource)
13
15
  true
14
- rescue
16
+ rescue StandardError => e
17
+ logger.error("Error validating bucket write permissions!",
18
+ :message => e.message,
19
+ :class => e.class.name
20
+ )
15
21
  false
16
22
  end
17
23
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-s3'
3
- s.version = '4.0.0'
3
+ s.version = '4.0.1'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = "This plugin was created for store the logstash's events into Amazon Simple Storage Service (Amazon S3)"
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/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-15 00:00:00.000000000 Z
11
+ date: 2017-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement