logstash-input-s3-sns-sqs 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/logstash/inputs/s3snssqs.rb +2 -2
- data/logstash-input-s3-sns-sqs.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fa2bf47e17297deddd8e7d59521e9df1480aedb
|
4
|
+
data.tar.gz: 70c8306bdeef99ca5e3ce98a43f15d6db0cca371
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3c2a94f24ffe5b6513bb74647c0b0b12d3e62097a09675b2afe1af7d266387e8b27046e94189cf4b74a0af0f3e2095a4c2f6e1bbf096ce3cb382bfefb001680
|
7
|
+
data.tar.gz: c95bcc18de6838c79b74b22d997db71dab0ccea97cc42282f5ef446eb98ff2852ba6443903fa17b74d3874791f2f12d5e7046439ce486e0efe60146447005e01
|
data/CHANGELOG.md
CHANGED
@@ -90,7 +90,7 @@ class LogStash::Inputs::S3SNSSQS < LogStash::Inputs::Threadable
|
|
90
90
|
|
91
91
|
# Name of the SQS Queue to pull messages from. Note that this is just the name of the queue, not the URL or ARN.
|
92
92
|
config :queue, :validate => :string, :required => true
|
93
|
-
|
93
|
+
config :queue_owner_aws_account_id, :validate => :string, :required => false
|
94
94
|
# Whether to delete files from S3 after processing.
|
95
95
|
config :delete_on_success, :validate => :boolean, :default => false
|
96
96
|
|
@@ -106,7 +106,7 @@ class LogStash::Inputs::S3SNSSQS < LogStash::Inputs::Threadable
|
|
106
106
|
|
107
107
|
def setup_queue
|
108
108
|
aws_sqs_client = Aws::SQS::Client.new(aws_options_hash)
|
109
|
-
queue_url = aws_sqs_client.get_queue_url(:
|
109
|
+
queue_url = aws_sqs_client.get_queue_url({ queue_name: @queue, queue_owner_aws_account_id: @queue_owner_aws_account_id})[:queue_url]
|
110
110
|
@poller = Aws::SQS::QueuePoller.new(queue_url, :client => aws_sqs_client)
|
111
111
|
@s3 = Aws::S3::Client.new(aws_options_hash)
|
112
112
|
rescue Aws::SQS::Errors::ServiceError => e
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-s3-sns-sqs'
|
3
|
-
s.version = '1.1.
|
3
|
+
s.version = '1.1.4'
|
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 sns -> 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"
|