Database Audit
The Database Audit application allows you to upload database operation records and behaviors to Simple Log Service through packet capture. You can conduct database auditing using the features of Simple Log Service, such as storage, query analysis, visualization, and alerts.
Scenarios
The Database Audit application is designed for auditing both ApsaraDB RDS and self-managed databases.
RDS database audit
Install Logtail and packet capture tools on the application server to monitor database activities and conduct RDS database audits.
Self-managed database audit
Install Logtail and packet capture tools on the database server to monitor database activity and conduct audits of self-managed databases.
Assets
All assets of the Database Audit application are contained within the selected project, as detailed below:
Logstore
After a collection task is created, a logstore named general-db-logstore is automatically created to store database logs. This logstore has been configured with an index.
Logtail configuration
After a collection task is created, a Logtail configuration of the service_lumberjack type is automatically created to collect database logs.
Dashboard
Dashboard
Description
Audit Operation Center
Displays key metrics for basic database operations, such as PV, UV, errors, and cumulative counts of inserted, updated, deleted, and queried rows.
Audit Security Center
Displays security-related metrics, including error counts, large batch delete, modification events, insert events, and dangerous SQL execution counts.
Audit Performance Center
Displays performance-related metrics, including SQL execution peaks, query, insert, update, and delete bandwidth peaks, and average times for query, insert, update, and delete SQL, and SQL execution.
Billing
After data is stored in Simple Log Service, you are charged for the storage space, read traffic, number of requests, data transformation, and data shipping. For more information, see Billable items of pay-by-feature.