logstash-input-sqs_s3 1.1.7 → 1.1.8
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/lib/logstash/inputs/sqs_s3.rb +6 -7
- data/logstash-input-sqs_s3.gemspec +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: 41e527e5ba2aff5c1c52b55435fd06e844c510da3f3dff0cd3dac259afa91a93
|
4
|
+
data.tar.gz: e8c57898a42294b98de3438bd2d9842c4274c5ac513717346690f02236e28d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bb4bb830a9ab7fd0ed19de4ed96740a1948c2abc07b7156d755b75f6c4a9bf7a18b9caef0fc7243ceceb171c5c217a64fed984caa2ca8e2b65fbbd512eb456c
|
7
|
+
data.tar.gz: 745fc01fa563652ea09a9a1ad0378998b3b8bc6aea48a5a96a64a17e94e7032e9c06233c177639c3c6768dc0fa9ef713504f3d5070e70b39907d3d84d6709028
|
data/CHANGELOG.md
CHANGED
@@ -194,14 +194,13 @@ class LogStash::Inputs::SQSS3 < LogStash::Inputs::Threadable
|
|
194
194
|
end
|
195
195
|
end
|
196
196
|
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
197
|
+
event = LogStash::Event.new()
|
198
|
+
event.set('[@metadata][event_type]', 'complete')
|
199
|
+
event.set(@receipt_handle, message.receipt_handle) if @receipt_handle
|
200
|
+
event.set(@message_id, message.message_id) if @message_id
|
201
|
+
event.set(@sent_timestamp_field, convert_epoch_to_timestamp(message.attributes[SENT_TIMESTAMP])) if @sent_timestamp_field
|
202
202
|
|
203
|
-
|
204
|
-
end
|
203
|
+
queue << event
|
205
204
|
rescue => e
|
206
205
|
@logger.warn("issuing :skip_delete on failed plain text processing", :bucket => record['s3']['bucket']['name'], :object => record['s3']['object']['key'], :error => e)
|
207
206
|
throw :skip_delete
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-sqs_s3'
|
3
|
-
s.version = '1.1.
|
3
|
+
s.version = '1.1.8'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Get logs from AWS s3 buckets as issued by an object-created event via sqs."
|
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/plugin install gemname. This gem is not a stand-alone program. Full credit goes to Heiko Finzel. Republishing this gem to support Logstash 5."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-sqs_s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heiko Finzel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|