This page describes how to view and use the resource logs for your
Oracle Database@Google Cloud resources using Cloud Logging.

You can view logs for your Oracle Database@Google Cloud instances, clusters, and
databases using Logging in Google Cloud console. These
logs capture all Google Cloud console, and Exadata Database
and Autonomous AI Database Service events by default.

You can review these logs by looking up the resource name you want to view
logs for in Logs Explorer.

## View resource logs

To view resources logs for your Oracle Database@Google Cloud resources:

1.

   In the Google Cloud console, go to the **Logs Explorer** page.

   [Go to Logs Explorer](https://console.cloud.google.com/logs/query)

   <br />

2. Select the Google Cloud project that you want to view logging in
   at the top of the page.

3. In the query builder, complete the following:

   1. Click **All resources** to open a drop-down and select
      **Exadata Infrastructure** , **Cloud VM Cluster** , or
      **Autonomous Database** . In the dialog,
      select your instance, cluster, or database, then click **Apply**.

   2. Click **All log names** to open a drop-down, select the log
      files you want to see, then click **Apply**.
      The following log files are available:

      - `oracledatabase.googleapis.com/CloudExadataInfrastructure`
      - `oracledatabase.googleapis.com/CloudVmCluster`
      - `oracledatabase.googleapis.com/ContainerDatabase`
      - `oracledatabase.googleapis.com/PluggableDatabase`
      - `oracledatabase.googleapis.com/AutonomousDatabase`
   3. Click **All severities** to open a drop-down and select a log
      level.

   4. Select a preset time range or create a custom range.

Your selected logs are shown in the results pane.