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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90852f5407cbb7972c99261dccee8d0aa6d6906b146eb7b33070480d314b8612
4
- data.tar.gz: e7a9eef2124a63635726442faf4e4c68d098247e9b78ab6f050080e951062248
3
+ metadata.gz: 890ff03d14bda56d56fe801c3432bd7a4da11643fd160c52a2b7caf238a4fb8d
4
+ data.tar.gz: ea0fb6181b73b91d8d1c18a89ed92329abae4c23d5f55e85d06a8789f2d05667
5
5
  SHA512:
6
- metadata.gz: 19d609145287fda65808777c6719807e620c67865078097591aa8ef7c6827d31897f633f50edb029767cc91260bca67287741c6c7319697ef1dda27f47513be4
7
- data.tar.gz: 64a2f88ae55c076fb45a2a30f95a663b8cc4135de36506352fb0c130588918ebc1a2bb4558f250aba7c231c1b4fc2f3eb745de379a54083e60306af445b7d5e4
6
+ metadata.gz: 1134e3aa8531cbb29716f4db08513ed15fa6a0013efda15cda54e8dd3b2d5fa885148988662494119d680fd1ff597c232f48f67816bde953e35b3e93e5b0ee4e
7
+ data.tar.gz: 21f03d765f73b4bbb52779a00a6879dd3bb99714b67dfefc042e3d683692ddefeb299a7c182d297a218a9dbe7c93813728205677a3006aa87c9f12b55644800b
@@ -1,3 +1,6 @@
1
+ ## 4.2.0
2
+ - Added ability to specify [ONEZONE_IA](https://aws.amazon.com/s3/storage-classes/#__) as storage_class
3
+
1
4
  ## 4.1.10
2
5
  - Added clarification for endpoint in documentation [#198](https://github.com/logstash-plugins/logstash-output-s3/pull/198)
3
6
 
@@ -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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-s3'
3
- s.version = '4.1.10'
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"
@@ -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.1.10
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-08-20 00:00:00.000000000 Z
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