Observe Resource Logs with OCI Logging Service
The Oracle Cloud Infrastructure Logging service is a highly scalable and fully managed single pane of glass for all the logs in your tenancy.
Oracle Autonomous Database on Dedicated Exadata Infrastructure is an Oracle Cloud Infrastructure service that emits service logs, and you can enable or disable capturing these logs using the OCI Logging Service.
Logging provides access to logs from Oracle Cloud Infrastructure resources. These logs include critical diagnostic information that describes how resources are performing and being accessed. Refer to the OCI Logging Service for more details.
- For an Autonomous Container Database (ACD), the user must have
AUTONOMOUS_CONTAINER_DATABASE_INSPECT
privilege. - For an Autonomous Database (ADB), the user must have
AUTONOMOUS_DATABASE_CONTENT_READ
privilege.
List of Oracle Autonomous Database on Dedicated Exadata Infrastructure Logs
Table - Autonomous Database Logs
Log | Scope | Description |
---|---|---|
Attention Logs | Autonomous Container Database (ACD) | The attention log is a JSON
formatted file to capture critical events, making
system diagnostics easier. There is a single
attention log for each ACD. The attention log is
extracted from the following path :
|
Alert Logs | Autonomous Container Database (ACD) | Alert logs contain important
information about error messages and exceptions
that occur during database operations. There is a
single alert log for each ACD. The alert log is
extracted from the following path:
|
Migration Logs | Autonomous Database (ADB) | The migration logs are the
logs for Oracle Data Pump export and import
operations. The data pump export and import logs
are extracted from the following
path:
|
Note:
Attention Logs and Alert logs are collectively known as Database Logs.You can view the sample log files for Database Logs and Migration Logs.
For more information on using Oracle Data Pump to export data from Oracle Autonomous Database on Dedicated Exadata Infrastructure, See Export Data Using Oracle Data Pump. For more information on the logs generated at the Autonomous Exadata VM Cluster and Exadata Infrastructure levels, See Auditing Capabilities in Autonomous Database.
Prerequisites to Enable OCI Logs
To enable service logs in a resource, a user must be granted
manage
access in the log group and access to the
resource. In general, inspect
access for the resource is
enough, but check for specific resources. Inspect access provides permission
to update the resource and permission for the log group that contains the
log. In addition to the permissions to work with the log group, you must
have the update permission for the resource, to add service logs to a
resource. See Required IAM Policy for more
details.
Enable Logging for an Autonomous Database Resource
- From the Logs section in the Logging service, click Enable Service Log.
- Choose your compartment, select Autonomous Database Dedicated as the service, and choose the corresponding resource (the specific ACD or ADB).
- For ACD the Log Category must be Database Logs and for an ADB it must be Migration Logs.
- Provide a name for your log file.
Note:
Attention logs are available from database versions 21c onwards.Viewing Logs for an Autonomous Database Resource
- Open the navigation menu and select Observability & Management. Under Logging, select Search.
- You can use custom filters. Additionally, you can search for logs based on their type. You can also filter and limit logs based on time.
- The log data in the Explore and Visualize tabs is reloaded according to your filter settings.