docs/index.asciidoc in logstash-input-sqs-3.2.0 vs docs/index.asciidoc in logstash-input-sqs-3.3.0
- old
+ new
@@ -83,10 +83,11 @@
[cols="<,<,<",options="header",]
|=======================================================================
|Setting |Input type|Required
| <<plugins-{type}s-{plugin}-access_key_id>> |<<string,string>>|No
+| <<plugins-{type}s-{plugin}-additional_settings>> |<<hash,hash>>|No
| <<plugins-{type}s-{plugin}-aws_credentials_file>> |<<string,string>>|No
| <<plugins-{type}s-{plugin}-endpoint>> |<<string,string>>|No
| <<plugins-{type}s-{plugin}-id_field>> |<<string,string>>|No
| <<plugins-{type}s-{plugin}-md5_field>> |<<string,string>>|No
| <<plugins-{type}s-{plugin}-polling_frequency>> |<<number,number>>|No
@@ -118,9 +119,31 @@
1. Static configuration, using `access_key_id` and `secret_access_key` params in logstash plugin config
2. External credentials file specified by `aws_credentials_file`
3. Environment variables `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`
4. Environment variables `AMAZON_ACCESS_KEY_ID` and `AMAZON_SECRET_ACCESS_KEY`
5. IAM Instance Profile (available when running inside EC2)
+
+[id="plugins-{type}s-{plugin}-additional_settings"]
+===== `additional_settings`
+
+* Value type is <<hash,hash>>
+* Default value is `{}`
+
+Key-value pairs of settings and corresponding values used to parametrize
+the connection to SQS. See full list in https://docs.aws.amazon.com/sdk-for-ruby/v2/api/Aws/SQS/Client.html[the AWS SDK documentation]. Example:
+
+[source,ruby]
+ input {
+ sqs {
+ access_key_id => "1234"
+ secret_access_key => "secret"
+ queue => "logstash-test-queue"
+ additional_settings => {
+ force_path_style => true
+ follow_redirects => false
+ }
+ }
+ }
[id="plugins-{type}s-{plugin}-aws_credentials_file"]
===== `aws_credentials_file`
* Value type is <<string,string>>