logstash-output-s3 4.1.10 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/index.asciidoc +2 -2
- data/lib/logstash/outputs/s3.rb +1 -1
- data/logstash-output-s3.gemspec +1 -1
- data/spec/outputs/s3_spec.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: 890ff03d14bda56d56fe801c3432bd7a4da11643fd160c52a2b7caf238a4fb8d
|
4
|
+
data.tar.gz: ea0fb6181b73b91d8d1c18a89ed92329abae4c23d5f55e85d06a8789f2d05667
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1134e3aa8531cbb29716f4db08513ed15fa6a0013efda15cda54e8dd3b2d5fa885148988662494119d680fd1ff597c232f48f67816bde953e35b3e93e5b0ee4e
|
7
|
+
data.tar.gz: 21f03d765f73b4bbb52779a00a6879dd3bb99714b67dfefc042e3d683692ddefeb299a7c182d297a218a9dbe7c93813728205677a3006aa87c9f12b55644800b
|
data/CHANGELOG.md
CHANGED
data/docs/index.asciidoc
CHANGED
@@ -100,7 +100,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
100
100
|
| <<plugins-{type}s-{plugin}-signature_version>> |<<string,string>>, one of `["v2", "v4"]`|No
|
101
101
|
| <<plugins-{type}s-{plugin}-size_file>> |<<number,number>>|No
|
102
102
|
| <<plugins-{type}s-{plugin}-ssekms_key_id>> |<<string,string>>|No
|
103
|
-
| <<plugins-{type}s-{plugin}-storage_class>> |<<string,string>>, one of `["STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA"]`|No
|
103
|
+
| <<plugins-{type}s-{plugin}-storage_class>> |<<string,string>>, one of `["STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA"]`|No
|
104
104
|
| <<plugins-{type}s-{plugin}-temporary_directory>> |<<string,string>>|No
|
105
105
|
| <<plugins-{type}s-{plugin}-time_file>> |<<number,number>>|No
|
106
106
|
| <<plugins-{type}s-{plugin}-upload_multipart_threshold>> |<<number,number>>|No
|
@@ -331,7 +331,7 @@ http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
|
|
331
331
|
[id="plugins-{type}s-{plugin}-storage_class"]
|
332
332
|
===== `storage_class`
|
333
333
|
|
334
|
-
* Value can be any of: `STANDARD`, `REDUCED_REDUNDANCY`, `STANDARD_IA`
|
334
|
+
* Value can be any of: `STANDARD`, `REDUCED_REDUNDANCY`, `STANDARD_IA`, `ONEZONE_IA`
|
335
335
|
* Default value is `"STANDARD"`
|
336
336
|
|
337
337
|
Specifies what S3 storage class to use when uploading the file.
|
data/lib/logstash/outputs/s3.rb
CHANGED
@@ -144,7 +144,7 @@ class LogStash::Outputs::S3 < LogStash::Outputs::Base
|
|
144
144
|
# More information about the different storage classes can be found:
|
145
145
|
# http://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
146
146
|
# Defaults to STANDARD.
|
147
|
-
config :storage_class, :validate => ["STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA"], :default => "STANDARD"
|
147
|
+
config :storage_class, :validate => ["STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA"], :default => "STANDARD"
|
148
148
|
|
149
149
|
# Set the directory where logstash will store the tmp files before sending it to S3
|
150
150
|
# default to the current OS temporary directory in linux /tmp/logstash
|
data/logstash-output-s3.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-s3'
|
3
|
-
s.version = '4.
|
3
|
+
s.version = '4.2.0'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = "Sends Logstash events to the Amazon Simple Storage Service"
|
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"
|
data/spec/outputs/s3_spec.rb
CHANGED
@@ -122,7 +122,7 @@ describe LogStash::Outputs::S3 do
|
|
122
122
|
|
123
123
|
describe "Storage Class" do
|
124
124
|
context "when configured" do
|
125
|
-
["STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA"].each do |storage_class|
|
125
|
+
["STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA"].each do |storage_class|
|
126
126
|
it "should return the configured storage class: #{storage_class}" do
|
127
127
|
s3 = described_class.new(options.merge({ "storage_class" => storage_class }))
|
128
128
|
expect(s3.upload_options).to include(:storage_class => storage_class)
|
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.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|