In the AWS integration tile, ensure that SNS is checked under metric collection.
Add the following permissions to your Datadog IAM policy in order to collect Amazon SNS metrics. For more information, see the SNS policies on the AWS website.
AWS Permission
Description
sns:ListTopics
Used to list available topics.
sns:Publish
Used to publish notifications (monitors or event feed).
To receive SNS messages in the Datadog Event Stream:
On the Topics section of the SNS Management console, select the desired topic and click Create Subscription.
Select https and enter the following Webhook url:
## Datadog US site
https://app.datadoghq.com/intake/webhook/sns?api_key=<API KEY>
## Datadog EU site
https://app.datadoghq.eu/intake/webhook/sns?api_key=<API KEY>
Do not enable “raw message delivery”
Send SNS notifications
To send SNS notifications from Datadog:
Configure the AWS account that is associated with an SNS service on the AWS integration tile
The number of messages that were rejected by subscription filter policies. A filter policy rejects a message when the message attributes don't match the policy attributes. Shown as message
The number of messages that were rejected by subscription filter policies. A filter policy rejects a message when the message attributes don't match the policy attributes. Shown as message
The number of messages that were rejected by subscription filter policies because the messages have no attributes. Shown as message
Each of the metrics retrieved from AWS is assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.
Events
The AWS SNS integration includes events for topic subscriptions. See the example event below:
Service Checks
The AWS SNS integration does not include any service checks.
Troubleshooting
Datadog does not support SNS notifications from Datadog to topics in GovCloud or China.