logstash-input-s3 3.7.0 → 3.8.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: 0b5ad2fe42e0003da67ebb3e1aad774f5bab3cb2afc07e4699fbfa5e84c0d472
4
- data.tar.gz: fb8691a6276181e17a2c80319247d04f11c8d547affff1b109f5447547eca4be
3
+ metadata.gz: 98dffffbe8df111d10d5be8d650c47ecb5306128217388a513e29ebe6a312a15
4
+ data.tar.gz: 7941b6588ff4b448004140818898b09f98637405aa6cc5446a5040fb856c96ba
5
5
  SHA512:
6
- metadata.gz: 3782d59c63fe4e53cb01dff9c7a431773fc69126dfc17c90ea45b8018205897dfabd8d942a732c37cb1740a4c924608110e81955205734523a9f5d1a928bed5d
7
- data.tar.gz: 3ff5255afa6d8a978a2231bc69a3c11dd9f354a90895e779be569971aaa75c34c456d35b979effbb0304801160cb15ce5f81b5967e121133d79e0a48f59638b7
6
+ metadata.gz: 4f76ea76ea076bce90ee89519543e35b4845cfea30987228bd0f435f965b8e71eddd0a03a3cb51486c5dc78ec76220acf033f2d92ff90dea40d206bf2368d838
7
+ data.tar.gz: 0cba659c39202f51d3e8d5ffc8053d8c027a158677d1da16bcc4ac90b935eb6c1f9b3093f310a07afae79fb61cc2d49c335a5cf9b3f2ab3062f0f60c3af1047f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.8.0
2
+ - Add ECS v8 support.
3
+
1
4
  ## 3.7.0
2
5
  - Add ECS support. [#228](https://github.com/logstash-plugins/logstash-input-s3/pull/228)
3
6
  - Fix missing file in cutoff time change. [#224](https://github.com/logstash-plugins/logstash-input-s3/pull/224)
data/docs/index.asciidoc CHANGED
@@ -189,7 +189,7 @@ Whether to delete processed files from the original bucket.
189
189
  * Value type is <<string,string>>
190
190
  * Supported values are:
191
191
  ** `disabled`: does not use ECS-compatible field names
192
- ** `v1`: uses metadata fields that are compatible with Elastic Common Schema
192
+ ** `v1`,`v8`: uses metadata fields that are compatible with Elastic Common Schema
193
193
 
194
194
  Controls this plugin's compatibility with the
195
195
  {ecs-ref}[Elastic Common Schema (ECS)].
@@ -28,7 +28,7 @@ class LogStash::Inputs::S3 < LogStash::Inputs::Base
28
28
  java_import java.util.zip.ZipException
29
29
 
30
30
  include LogStash::PluginMixins::AwsConfig::V2
31
- include LogStash::PluginMixins::ECSCompatibilitySupport(:disabled, :v1)
31
+ include LogStash::PluginMixins::ECSCompatibilitySupport(:disabled, :v1, :v8 => :v1)
32
32
 
33
33
  config_name "s3"
34
34
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-s3'
4
- s.version = '3.7.0'
4
+ s.version = '3.8.0'
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"
@@ -27,5 +27,5 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency 'logstash-devutils'
28
28
  s.add_development_dependency "logstash-codec-json"
29
29
  s.add_development_dependency "logstash-codec-multiline"
30
- s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~>1.1'
30
+ s.add_runtime_dependency 'logstash-mixin-ecs_compatibility_support', '~>1.2'
31
31
  end
@@ -42,7 +42,9 @@ describe LogStash::Inputs::S3 do
42
42
  expect_any_instance_of(LogStash::Inputs::S3).to receive(:list_new_files).and_return(TestInfiniteS3Object.new(s3_obj))
43
43
  end
44
44
 
45
- it_behaves_like "an interruptible input plugin"
45
+ it_behaves_like "an interruptible input plugin" do
46
+ let(:allowed_lag) { 16 } if LOGSTASH_VERSION.split('.').first.to_i <= 6
47
+ end
46
48
  end
47
49
 
48
50
  describe "#register" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2021-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -105,7 +105,7 @@ dependencies:
105
105
  requirements:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
- version: '1.1'
108
+ version: '1.2'
109
109
  name: logstash-mixin-ecs_compatibility_support
110
110
  prerelease: false
111
111
  type: :runtime
@@ -113,7 +113,7 @@ dependencies:
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '1.1'
116
+ version: '1.2'
117
117
  description: This gem is a Logstash plugin required to be installed on top of the
118
118
  Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
119
119
  gem is not a stand-alone program
@@ -167,8 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []
170
- rubyforge_project:
171
- rubygems_version: 2.6.13
170
+ rubygems_version: 3.1.6
172
171
  signing_key:
173
172
  specification_version: 4
174
173
  summary: Streams events from files in a S3 bucket