region not supported by sns output configuration

Description

The region setting is missing from the SNS output (http://www.logstash.net/docs/1.1.9/outputs/sns).

As far as I can tell, I cannot set the SNS region in a logstash configuration file.

If I try to output to an SNS topic in us-west-1 I get a "Topic Does Not Exist" error, even though the region is encoded in the ARN of the SNS topic (e.g., arn:aws:sns:us-west-1:1234567890:ExampleTopic).

I stumbled upon this in the AWS config mixin. It defaults to us-east-1. I tried setting it in my logstash.conf (see below) but got an "Unknown setting 'region' for output/sns" error. It looks like it's not used in 1.1.9 (https://github.com/logstash/logstash/blob/v1.1.9/lib/logstash/outputs/sns.rb).

I'd expect the following to work:

Or, at least, for the region to be determined automatically from the ARN.

Neither works.

Activity

Show:
David Taylor
April 11, 2013, 3:47 AM

Looks related to LOGSTASH-805.

David Taylor
April 11, 2013, 5:27 AM
Edited

As far as I can tell, this will be fixed in the next build of logstash.

Jordan Sissel
April 11, 2013, 5:45 PM
Philippe Weber
September 26, 2013, 11:48 AM

Closing old ticket
Region config added since 1.1.10

Assignee

Philippe Weber

Reporter

David Taylor

Fix versions

Affects versions

Configure