logstash-input-sqs 3.0.6 → 3.1.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: e4b33151fac00f5d5ea23db3c036881914a9b3a5eb4989378d39b9322245e390
4
- data.tar.gz: d8bf976ed88505bf0c1dcb1259f57e06d1e7d2e060a0c0e2453031ac272cda6c
3
+ metadata.gz: 730c3856f096634b3ced094084c77c4c161dd7a292a3a0667db084b85618a770
4
+ data.tar.gz: 2186666750d0640a21eff674e47d93f28f5c845d386b986f34ee26814317e23a
5
5
  SHA512:
6
- metadata.gz: c35473cc3c5653e2007f7fe4f01790db73923433e8c294dfbc3c735096be326215fbc775d1713997808225a8197c19c554fc32ac4f51a9a178cbdc1785182afd
7
- data.tar.gz: 56f87b1c551cd65d46f7961bd5ec3c85055ad91bdc31ff80a3de77c421b7e08f3f37fcbfdcc89cc996461a56ec10c80db851147a7f3657e328059be7157fac26
6
+ metadata.gz: f2b44ac76fb1b28782a9ac04f2e4d1a6096de3065f7dec0065bb07b721871d970559752e1e843b912ef3d191cc2519001f0639190bd64228c4a7d5227ff0118f
7
+ data.tar.gz: 6920d3ce5f6d9b696a63d943749c748ccb261e5ff76867ac2879c63c896430935aab6b442473eac6a974d2d40739152aa3960a578a8e030685d398a402e62962
@@ -1,3 +1,7 @@
1
+ ## 3.1.0
2
+ - Add documentation for endpoint, role_arn and role_session_name #46
3
+ - Fix sample IAM policy to match to match the documentation #32
4
+
1
5
  ## 3.0.6
2
6
  - Update gemspec summary
3
7
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012-2018 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
@@ -57,11 +57,12 @@ A sample policy is as follows:
57
57
  "Action": [
58
58
  "sqs:ChangeMessageVisibility",
59
59
  "sqs:ChangeMessageVisibilityBatch",
60
+ "sqs:DeleteMessage",
61
+ "sqs:DeleteMessageBatch",
60
62
  "sqs:GetQueueAttributes",
61
63
  "sqs:GetQueueUrl",
62
64
  "sqs:ListQueues",
63
- "sqs:SendMessage",
64
- "sqs:SendMessageBatch"
65
+ "sqs:ReceiveMessage"
65
66
  ],
66
67
  "Effect": "Allow",
67
68
  "Resource": [
@@ -84,12 +85,15 @@ This plugin supports the following configuration options plus the <<plugins-{typ
84
85
  |Setting |Input type|Required
85
86
  | <<plugins-{type}s-{plugin}-access_key_id>> |<<string,string>>|No
86
87
  | <<plugins-{type}s-{plugin}-aws_credentials_file>> |<<string,string>>|No
88
+ | <<plugins-{type}s-{plugin}-endpoint>> |<<string,string>>|No
87
89
  | <<plugins-{type}s-{plugin}-id_field>> |<<string,string>>|No
88
90
  | <<plugins-{type}s-{plugin}-md5_field>> |<<string,string>>|No
89
91
  | <<plugins-{type}s-{plugin}-polling_frequency>> |<<number,number>>|No
90
92
  | <<plugins-{type}s-{plugin}-proxy_uri>> |<<string,string>>|No
91
93
  | <<plugins-{type}s-{plugin}-queue>> |<<string,string>>|Yes
92
- | <<plugins-{type}s-{plugin}-region>> |<<string,string>>, one of `["us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-central-1", "eu-west-1", "eu-west-2", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "sa-east-1", "us-gov-west-1", "cn-north-1", "ap-south-1", "ca-central-1"]`|No
94
+ | <<plugins-{type}s-{plugin}-region>> |<<string,string>>|No
95
+ | <<plugins-{type}s-{plugin}-role_arn>> |<<string,string>>|No
96
+ | <<plugins-{type}s-{plugin}-role_session_name>> |<<string,string>>|No
93
97
  | <<plugins-{type}s-{plugin}-secret_access_key>> |<<string,string>>|No
94
98
  | <<plugins-{type}s-{plugin}-sent_timestamp_field>> |<<string,string>>|No
95
99
  | <<plugins-{type}s-{plugin}-session_token>> |<<string,string>>|No
@@ -132,6 +136,15 @@ file should look like this:
132
136
  :secret_access_key: "54321"
133
137
  ----------------------------------
134
138
 
139
+ [id="plugins-{type}s-{plugin}-endpoint"]
140
+ ===== `endpoint`
141
+
142
+ * Value type is <<string,string>>
143
+ * There is no default value for this setting.
144
+
145
+ The endpoint to connect to. By default it is constructed using the value of `region`.
146
+ This is useful when connecting to S3 compatible services, but beware that these aren't
147
+ guaranteed to work correctly with the AWS SDK.
135
148
 
136
149
  [id="plugins-{type}s-{plugin}-id_field"]
137
150
  ===== `id_field`
@@ -177,11 +190,29 @@ Name of the SQS Queue name to pull messages from. Note that this is just the nam
177
190
  [id="plugins-{type}s-{plugin}-region"]
178
191
  ===== `region`
179
192
 
180
- * Value can be any of: `us-east-1`, `us-east-2`, `us-west-1`, `us-west-2`, `eu-central-1`, `eu-west-1`, `eu-west-2`, `ap-southeast-1`, `ap-southeast-2`, `ap-northeast-1`, `ap-northeast-2`, `sa-east-1`, `us-gov-west-1`, `cn-north-1`, `ap-south-1`, `ca-central-1`
193
+ * Value type is <<string,string>>
181
194
  * Default value is `"us-east-1"`
182
195
 
183
196
  The AWS Region
184
197
 
198
+ [id="plugins-{type}s-{plugin}-role_arn"]
199
+ ===== `role_arn`
200
+
201
+ * Value type is <<string,string>>
202
+ * There is no default value for this setting.
203
+
204
+ The AWS IAM Role to assume, if any.
205
+ This is used to generate temporary credentials, typically for cross-account access.
206
+ See the https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html[AssumeRole API documentation] for more information.
207
+
208
+ [id="plugins-{type}s-{plugin}-role_session_name"]
209
+ ===== `role_session_name`
210
+
211
+ * Value type is <<string,string>>
212
+ * Default value is `"logstash"`
213
+
214
+ Session name to use when assuming an IAM role.
215
+
185
216
  [id="plugins-{type}s-{plugin}-secret_access_key"]
186
217
  ===== `secret_access_key`
187
218
 
@@ -217,4 +248,4 @@ The AWS Session token for temporary credential
217
248
 
218
249
 
219
250
  [id="plugins-{type}s-{plugin}-common-options"]
220
- include::{include_path}/{type}.asciidoc[]
251
+ include::{include_path}/{type}.asciidoc[]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-sqs'
3
- s.version = '3.0.6'
3
+ s.version = '3.1.0'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Pulls events from an Amazon Web Services Simple Queue Service queue"
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"
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
23
23
 
24
24
  s.add_runtime_dependency 'logstash-codec-json'
25
- s.add_runtime_dependency "logstash-mixin-aws", ">= 1.0.0"
25
+ s.add_runtime_dependency 'logstash-mixin-aws', '>= 4.3.0'
26
26
 
27
27
  s.add_development_dependency 'logstash-devutils'
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-sqs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-07 00:00:00.000000000 Z
11
+ date: 2018-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  requirements:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 1.0.0
52
+ version: 4.3.0
53
53
  name: logstash-mixin-aws
54
54
  prerelease: false
55
55
  type: :runtime
@@ -57,7 +57,7 @@ dependencies:
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 1.0.0
60
+ version: 4.3.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  requirement: !ruby/object:Gem::Requirement
63
63
  requirements:
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.6.11
119
+ rubygems_version: 2.6.13
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Pulls events from an Amazon Web Services Simple Queue Service queue