Amazon RDS API calls made by or on behalf of an AWS account are logged by AWS CloudWatch. After that, the data is saved in an Amazon S3 bucket. Monitoring is a crucial component of keeping Amazon RDS and your AWS solutions reliable, available, and efficient. If a multi-point failure occurs, you should collect monitoring data from all aspects of your AWS solution so that you can more effectively debug it. The activity of Amazon RDS DB instances can be monitored by Wazuh using the custom rules and decoders. Wazuh will collect the RDS Logs from the Amazon CloudWatch Logs. To do so please follow the following steps
1. Configuring AWS credentials: In order to make the Wazuh AWS module pull log data from the different services, it's necessary to provide access credentials to connect to them. For this step please refer to
https://documentation.wazuh.com/current/cloud-security/amazon/services/prerequisites/credentials.html#configuring-aws-credentialsAWS RDS Configuration: The logs for the RDS should be exported via the following options so that it can be pushed in the Amazon CloudWatch Logs.

2. Wazuh configuration for AWS RDS: The CloudWatch service needs to be configured for wazuh to monitor the logs from it, add the following configuration block in /var/ossec/etc/ossec.conf file or configure it via the WUI. For this please refer to
https://www.infopercept.com/monitoring-aws-rds-logs-with-wazuh/?hightlight=AWS%20RDS%20Configuration or
https://documentation.wazuh.com/current/cloud-security/amazon/services/prerequisites/considerations.html#configuring-multiple-services
4. To see if those logs are monitored, you need to enable the logall option in the global section of the ossec.conf file and restart the manager, if everything is good, the manager should be running fine. This option allows Wazuh to store in /var/ossec/logs/archives/archives.log every event generated, doesn't matter if it generated an alert or not.
Using the events stored there, you will be able to create your own rules and decoders, you can have more information about it here:
Best regards.