Querying the SQL audit file list

Last Updated: May 27, 2016

Description

Queries the SQL audit file list

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: DescribeSQLLogFiles
DBInstanceId String Yes Instance ID

Return parameters

Name Type Description
<Public Return Parameters> - For details, refer to the Appendix
TotalRecordCount Integer Total number of records
PageNumber Integer Page number
PageRecordCount Integer Number of records displayed on the current page
Items List<LogFile> Array consisting of audit files

LogFile parameters

Name Type Description
FileID Integer ID of a file
DBInstanceId String Instance ID
LogStatus String Success: archiving completed: Failed: archiving failed; Generating: archiving underway
LogStartTime String SQL start time
LogEndTime String SQL end time
LogDownloadURL String Download URL. This parameter is set to a null string if download cannot be performed for the moment
LogSize Long Log file size, in the unit of bytes
Thank you! We've received your feedback.