Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Viewing and listing database log files

Focus mode
Viewing and listing database log files - Amazon Relational Database Service

You can view database log files for your Amazon RDS DB engine by using the AWS Management Console. You can list what log files are available for download or monitoring by using the AWS CLI or Amazon RDS API.

Note

If you can't view the list of log files for an existing RDS for Oracle DB instance, reboot the instance to view the list.

To view a database log file
  1. Open the Amazon RDS console at https://console.aws.amazon.com/rds/.

  2. In the navigation pane, choose Databases.

  3. Choose the name of the DB instance that has the log file that you want to view.

  4. Choose the Logs & events tab.

  5. Scroll down to the Logs section.

  6. (Optional) Enter a search term to filter your results.

  7. Choose the log that you want to view, and then choose View.

Console

To view a database log file
  1. Open the Amazon RDS console at https://console.aws.amazon.com/rds/.

  2. In the navigation pane, choose Databases.

  3. Choose the name of the DB instance that has the log file that you want to view.

  4. Choose the Logs & events tab.

  5. Scroll down to the Logs section.

  6. (Optional) Enter a search term to filter your results.

  7. Choose the log that you want to view, and then choose View.

To list the available database log files for a DB instance, use the AWS CLI describe-db-log-files command.

The following example returns a list of log files for a DB instance named my-db-instance.

Example
aws rds describe-db-log-files --db-instance-identifier my-db-instance

To list the available database log files for a DB instance, use the AWS CLI describe-db-log-files command.

The following example returns a list of log files for a DB instance named my-db-instance.

Example
aws rds describe-db-log-files --db-instance-identifier my-db-instance

To list the available database log files for a DB instance, use the Amazon RDS API DescribeDBLogFiles action.

To list the available database log files for a DB instance, use the Amazon RDS API DescribeDBLogFiles action.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.