Sns output plugin v4.0.6

Getting Help

For questions about the plugin, open a topic in the Discuss forums. For bugs or feature requests, open an issue in Github.
For the list of Elastic supported plugins, please consult the Elastic Support Matrix.

sns - If no ARN is found in the configuration file, this will be used as
the ARN to publish.

sns_subject - The subject line that should be used.
will be truncated to 100 characters. If sns_subject is set to a non-string value a JSON version of that value will be saved.

sns_message - Optional string of message to be sent. If this is set to a non-string value it will be encoded with the specified codec. If this is not set the entire event will be encoded with the codec.
with the @message truncated so that the length of the JSON fits in
32768 bytes.

Upgrading to 2.0.0

This plugin used to have a format option for controlling the encoding of messages prior to being sent to SNS.
This plugin now uses the logstash standard codec option for encoding instead.
If you want the same plain format as the v0/1 codec (format => "plain") use codec => "s3plain".

Sns Output Configuration Options

This plugin supports the following configuration options plus the Common Options described later.

id

Add a unique ID to the plugin configuration. If no ID is specified, Logstash will generate one.
It is strongly recommended to set this ID in your configuration. This is particularly useful
when you have two or more plugins of the same type. For example, if you have 2 sns outputs.
Adding a named ID in this case will help in monitoring Logstash when using the monitoring APIs.