aws rds download-db-log-file-portion
Downloads all or a portion of the specified log file, up to 1 MB in size. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--db-instance-identifierThe customer-assigned name of the DB instance that contains the log files you want to list.--log-file-nameThe name of the log file to be downloaded.--markerThe pagination token provided in the previous request or "0".--number-of-linesThe number of lines to download.