I have a requirement to extract data from a third party RDS Oracle table whenever it is updated or inserted. I thought of creating a trigger in the third party DB and calling a Lambda function to extract data when an insert happens. The third party has refused to allow external overheads like triggers in their system for our purpose. Considering this, I am analyzing over utlizing Cloudwatch logs to watch for inserts without intervening their DB setup. When instance table is inserted/updated, can this info be logged in cloudwatch or no?
Yes, you can configure your Amazon RDS for the Oracle DB instance to publish log data to a log group in Amazon CloudWatch Logs. With CloudWatch Logs, you can analyze the log data, and use CloudWatch to create alarms and view metrics. Amazon RDS publishes each Oracle database log as a separate database stream in the log group. For example, if you configure the export function to include the audit log, audit data is stored in an audit log stream in the /aws/rds/instance/my_instance/audit log group. RDS for Oracle supports the following logs: