3 Answers
- Newest
- Most votes
- Most comments
1
Hi,
- Open the Amazon RDS console, and select the RDS instance for which you want to create an SNS notification.
- Click on the "Logs" tab, and then click on the "View all" button next to the "Log files" section.
- From the log files list, click on the name of the log group for which you want to create an SNS notification.
- On the log group page, click on the "Actions" dropdown menu, and select "Create export task".
- In the "Create export task" dialog box, enter a name for the export task, and select "Amazon S3" as the destination.
- Select the S3 bucket where you want to store the exported log data, and configure the export options as per your requirements.
- Click on the "Create export task" button to create the export task.
- Open the Amazon SNS console, and create a new topic for your notification.
- From the topic's details page, click on the "Create subscription" button, and select the protocol of your choice
- Enter the details of the protocol accordingly. e.g. if you choose Amazon Kinesis Data Firehose, then you need to provide the ARN of delivery stream that you want to subscribe to
- Now, go back to the RDS instance logs page, and click on the "Actions" dropdown menu again.
- This time, select "Create log subscription".
- In the "Create log subscription" dialog box, select the SNS topic you created in step 8 as the destination.
- Configure any additional settings for the subscription, and click on the "Create" button to create the subscription.
Thanks
answered 2 years ago
0
Make some assumption here:
- RDS logs are being delivered to CloudWatch Logs.
- You are looking for events in the logs to trigger a notification.
If so:
- Create a Metric Filter
- Create a Alarm of that metric
0
follow below link, explaining how to setup SNS notification for your RDS based on event match with Cloudwatch filter match.
https://aws.amazon.com/premiumsupport/knowledge-center/rds-sql-server-sns-notification-events/
answered 2 years ago
Relevant content
- Generate specific parameters to appear in SNS email notification in CloudWatch Alarm for a Log GroupAccepted Answerasked 2 years ago
- asked 2 years ago
- asked 6 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago