

# Monitoring Oracle Database@AWS
Monitoring

Monitoring is an important part of maintaining the reliability, availability, and performance of Oracle Database@AWS and your other AWS solutions. AWS provides the following monitoring tools to watch Oracle Database@AWS, report when something is wrong, and take automatic actions when appropriate:
+ *Amazon CloudWatch* monitors your AWS resources and and the applications you run on AWS in real time. You can collect and track metrics, create customized dashboards, and set alarms that notify you or take actions when a specified metric reaches a threshold that you specify. For example, you can have CloudWatch track CPU usage or other metrics of your Amazon EC2 instances and automatically launch new instances when needed. For more information, see the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/).
+ *Amazon CloudWatch Logs* enables you to monitor, store, and access your log files from Amazon EC2 instances, CloudTrail, and other sources. CloudWatch Logs can monitor information in the log files and notify you when certain thresholds are met. You can also archive your log data in highly durable storage. For more information, see the [Amazon CloudWatch Logs User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/).
+ *Amazon EventBridge* can be used to automate your AWS services and respond automatically to system events, such as application availability issues or resource changes. Events from AWS services are delivered to EventBridge in near real time. You can write simple rules to indicate which events are of interest to you and which automated actions to take when an event matches a rule. For more information, see [Amazon EventBridge User Guide](https://docs.aws.amazon.com/eventbridge/latest/userguide/).
+ *AWS CloudTrail* captures API calls and related events made by or on behalf of your AWS account and delivers the log files to an Amazon S3 bucket that you specify. You can identify which users and accounts called AWS, the source IP address from which the calls were made, and when the calls occurred. For more information, see the [AWS CloudTrail User Guide](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/).

# Monitoring Oracle Database@AWS with Amazon CloudWatch
Monitoring with CloudWatch

You can monitor Oracle Database@AWS using CloudWatch, which collects raw data and processes it into readable, near real-time metrics. These statistics are kept for 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. You can also set alarms that watch for certain thresholds, and send notifications or take actions when those thresholds are met. For more information, see the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/).

## Amazon CloudWatch metrics for Oracle Database@AWS
CloudWatch metrics

The Oracle Database@AWS service reports metrics to Amazon CloudWatch in the `AWS/ODB` namespace for VM clusters, container databases, and pluggable databases.

**Topics**
+ [

### Metrics for cloud VM clusters
](#monitoring-cloudwatch-metrics-cluster)
+ [

### Metrics for container databases
](#monitoring-cloudwatch-metrics-container)
+ [

### Metrics for pluggable databases
](#monitoring-cloudwatch-metrics-pluggable)

### Metrics for cloud VM clusters


The Oracle Database@AWS service reports the following metrics in the `AWS/ODB` namespace for cloud VM clusters.


| Metric | Description | Units | 
| --- | --- | --- | 
| ASMDiskgroupUtilization | The percentage of usable space used in a Disk Group. Usable space is the space available for growth. DATA disk group stores our Oracle database files. RECO disk group contains database files for recovery such as archives and flashback logs. | Percentage | 
| CpuUtilization | The percent CPU utilization. | Percentage | 
| FilesystemUtilization | The percent utilization of provisioned filesystem. | Percentage | 
| LoadAverage | The system load average over 5 minutes. | Integer | 
| MemoryUtilization | The percentage of memory available for starting new applications, without swapping. The available memory can be obtained via the following command: cat /proc/meminfo | Percentage | 
| NodeStatus | Indicates whether the host is reachable. | Integer | 
| OcpusAllocated | The number of OCPUs allocated. | Integer | 
| SwapUtilization | The percent utilization of total swap space. | Percentage | 

### Metrics for container databases


The Oracle Database@AWS service reports the following metrics in the `AWS/ODB` namespace for container databases.


| Metric | Description | Units | 
| --- | --- | --- | 
| BlockChanges | The Average number of blocks changed per second. | Changes per second | 
| CpuUtilization | The CPU utilization expressed as a percentage, aggregated across all consumer groups. The utilization percentage is reported with respect to the number of CPUs the database is allowed to use, which is two times the number of OCPUs. | Percentage | 
| CurrentLogons | The number of successful logons during the selected interval. | Count | 
| ExecuteCount | The number of user and recursive calls that executed SQL statements during the selected interval. | Count | 
| ParseCount | The number of hard and soft parses during the selected interval. | Count | 
| StorageAllocated | Total amount of storage space allocated to the database at the collection time. | GB | 
| StorageAllocatedByTablespace | Total amount of storage space allocated to the tablespace at the collection time. In case of container database, this metric provides root container tablespaces. | GB | 
| StorageUsed | Total amount of storage space used by the database at the collection time. | GB | 
| StorageUsedByTablespace | Total amount of storage space used by tablespace at the collection time. In case of container database, this metric provides root container tablespaces. | GB | 
| StorageUtilization | The percentage of provisioned storage capacity currently in use. Represents the total allocated space for all tablespaces. | Percentage | 
| StorageUtilizationByTablespace | This indicates the percentage of storage space utilized by the tablespace at the collection time. In case of container database, this metric provides root container tablespaces.. | Percentage | 
| TransactionCount | The combined number of user commits and user rollbacks during the selected interval. | Count | 
| UserCalls | The combined number of logons, parses, and execute calls during the selected interval. | Count | 

### Metrics for pluggable databases


The Oracle Database@AWS service reports the following metrics in the `AWS/ODB` namespace for pluggable databases.


| Metric | Description | Units | 
| --- | --- | --- | 
| AllocatedStorageUtilizationByTablespace | The percentage of space used by tablespace, out of all allocated. For container databases, this metric provides data for root container tablespaces. (Statistic: Mean, Interval: 30 minutes) | Percent | 
| AvgGCCRBlockReceiveTime | The average global cache CR (consistent-read) block receive time. For RAC / cluster databases only. (Statistic: Mean, Interval: 5 minutes) | Milliseconds | 
| AvgGCCurrentBlockReceiveTime | The average global cache current blocks receive time. Statistic reports the mean value. For Real Application Cluster (RAC) databases only. (Statistic: Mean, Interval: 5 minutes) | Milliseconds | 
| BlockChanges | The average number of blocks changed per second. (Statistic: Mean, Interval: 1 minute) | changes per second | 
| BlockingSessions | Current blocking sessions. Not applicable for container databases. (Statistic: Max, Interval: 15 minutes) | Count | 
| CPUTimeSeconds | The average rate of accumulation of CPU time by foreground sessions in the database instance over the time interval. The CPU time component of Average Active Sessions. (Statistic: Mean, Interval: 1 minute) | Seconds per second | 
| CpuCount | The number of CPUs during the selected interval. | Count | 
| CpuUtilization | The CPU utilization expressed as a percentage, aggregated across all consumer groups. The utilization percentage is reported with respect to the number of CPUs the database is allowed to use, which is two times the number of OCPUs. (Statistic: Mean, Interval: 1 minute) | Percent | 
| CurrentLogons | The number of successful logons during the selected interval. (Statistics: Sum, Interval: 1 minute) | Count | 
| DBTimeSeconds | The average rate of accumulation of database time (CPU \$1 Wait) by foreground sessions in the database instance over the time interval. Also known as Average Active Sessions. (Statistic: Mean, Interval: 1 minute) | Seconds per second | 
| DbmgmtJobExecutionsCount | The number of SQL job executions on a single managed database or a database group, and their status. Status dimensions can be the following values: "Succeeded," "Failed," "InProgress." (Statistic: Sum, Interval: 1 minute) | Count | 
| ExecuteCount | The number of user and recursive calls that executed SQL statements during the selected interval. (Statistic: Sum, Interval: 1 minute) | Count | 
| FRASpaceLimit | The flash recovery area space limit. Not applicable for pluggable databases. (Statistic: Max, Interval: 15 minutes) | GB | 
| FRAUtilization | The flash recovery area utilization. Not applicable for pluggable databases. (Statistic: Mean, Interval: 15 minutes) | Percent | 
| GCCRBlocksReceived | The global cache CR (consistent-read) blocks received per second. For RAC / cluster databases only. (Statistic: Mean, Interval: 5 minutes) | Blocks per second | 
| GCCurrentBlocksReceived | Represents global cache current blocks received per second. Statistic reports the mean value. For Real Application Cluster (RAC) databases only. (Statistic: Mean, Interval: 5 minutes) | Blocks per second | 
| IOPS | The average number of input-output operations per second. (Statistic: Mean, Interval: 1 minute) | Operations per second | 
| IOThroughputMB | The average throughput in MB per second. (Statistic: Mean, Interval: 1 minute) | MB per second | 
| InterconnectTrafficMB | The average internode data transfer rate. For RAC / cluster databases only. (Statistic: Mean, Interval: 5 minutes) | MB per second | 
| InvalidObjects | Invalid database objects count. Not applicable for container databases. (Statistic: Max, Interval: 24 hours) | Count | 
| LogicalBlocksRead | The average number of blocks read from SGA/Memory (buffer cache) per second. (Statistic: Mean, Interval: 1 minute) | Reads per second | 
| MaxTablespaceSize | The maximum possible tablespace size. For container databases, this metric provides data for root container tablespaces. (Statistic: Max, Interval: 30 minutes) | GB | 
| MemoryUsage | Memory pool total size in MB. (Statistic: Mean, Interval: 15 minutes) | MB | 
| MonitoringStatus | The monitoring status of the resource. If a metric collection fails, error information is captured in this metric. (Statistic: Mean, Interval: 5 minutes) | Not applicable | 
| NonReclaimableFRA | The Non-reclaimable fast recovery area. Not applicable for pluggable databases. (Statistic: Mean, Interval: 15 minutes) | Percent | 
| OcpusAllocated | The actual number of OCPUs allocated by the service during the selected interval of time. (Statistic: Count, Interval: 1 minute) | Integer | 
| ParseCount | The number of hard and soft parses during the selected interval. (Statistic: Sum, Interval: 1 minute) | Count | 
| ParsesByType | The number of hard or soft parses per second. (Statistic: Mean, Interval: 1 minute) | Parses per second | 
| ProblematicScheduledDBMSJobs | The problematic scheduled database jobs count. Not applicable for container databases. (Statistic: Max, Interval: 15 minutes) | Count | 
| ProcessLimitUtilization | The process limit utilization. Not applicable for pluggable databases. (Statistic: Mean, Interval: 1 minute) | Percent | 
| Processes | The database processes count. Not applicable for pluggable databases. (Statistic: Max, Interval: 1 minute) | Count | 
| ReclaimableFRA | The reclaimable fast recovery area. Not applicable for pluggable databases. (Statistic: Mean, Interval: 15 minutes) | Percent | 
| ReclaimableFRASpace | The flash recovery area reclaimable space. Not applicable for pluggable databases. (Statistic: Mean, Interval: 15 minutes) | GB | 
| RedoSizeMB | The average amount of redo generated, in MB per second. (Statistic: Mean, Interval: 1 minute) | MB per second | 
| SessionLimitUtilization | The session limit utilization. Not applicable for pluggable databases. (Statistic: Mean, Interval: 1 minute) | Percent | 
| Sessions | The number of sessions in the database. (Statistic: Mean, Interval: 1 minute) | Count | 
| StorageAllocated | The maximum amount of space allocated by tablespace during the interval. For container databases, this metric provides data for root container tablespaces. (Statistic: Max, Interval: 30 minutes) | GB | 
| StorageAllocatedByTablespace | The maximum amount of space allocated by tablespace during the interval. For container databases, this metric provides data for root container tablespaces. (Statistic: Max, Interval: 30 minutes) | GB | 
| StorageUsed | The maximum amount of space used during the interval. (Statistic: Max, Interval: 30 minutes) | GB | 
| StorageUsedByTablespace | The maximum amount of space used by tablespace during the interval. For container databases, this metric provides data for root container tablespaces. (Statistic: Max, Interval: 30 minutes) | GB | 
| StorageUtilization | The percentage of provisioned storage capacity currently in use. Represents the total allocated space for all tablespaces. (Statistic: Mean, Interval: 30 minutes) | Percent | 
| StorageUtilizationByTablespace | The percentage of the space utilized, by tablespace. For container databases, this metric provides data for root container tablespaces. (Statistic: Mean, Interval: 30 minutes) | Percent | 
| TransactionCount | The combined number of user commits and user rollbacks during the selected interval. (Statistic: Sum, Interval: 1 minute) | Count | 
| TransactionsByStatus | The number of committed or rolled back transactions per second. (Statistic: Mean, Interval: 1 minute) | Transactions per second | 
| UnusableIndexes | Unusable indexes count in database schema. Not applicable for container databases. (Statistic: Max, Interval: 24 hours) | Count | 
| UsableFRA | The useable fast recovery area. Not applicable for pluggable databases. (Statistic: Mean, Interval: 15 minutes) | Percent | 
| UsedFRASpace | The flash recovery area space usage. Not applicable for pluggable databases. (Statistic: Max, Interval: 15 minutes) | GB | 
| UserCalls | The combined number of logons, parses, and execute calls during the selected interval. (Statistic: Sum, Interval: 1 minute) | Count | 
| WaitTimeSeconds | The average rate of accumulation of non-idle wait time by foreground sessions in the database instance over the time interval. The wait time component of Average Active Sessions. (Statistic: Mean, Interval: 5 minutes) | Seconds per second | 

## Amazon CloudWatch dimensions for Oracle Database@AWS
CloudWatch dimensions

You can filter Oracle Database@AWS metrics data by using any dimension in the following table.


|  Dimension  |  Filters the requested data for . . .  | 
| --- | --- | 
| cloudVmClusterId | The identifier of a VM cluster. | 
| cloudExadataInfrastructureId | The identifier of the Exadata infrastructure. | 
| collectionName | A name of a collection. | 
| deploymentType | The type of infrastructure. | 
| diskgroupName | A name of a disk group | 
| errorCode | An error code. | 
| errorSeverity | The severity of an error. | 
| filesystemName | The name of a file system. | 
| hostName | The name of the host machine. | 
| instanceName | The name of a database instance. | 
| instanceNumber | The instance number of a database instance. | 
| ioType | A type of I/O operation. | 
| jobId | A unique identifier for a job. | 
| managedDatabaseGroupId | The identifier of a Managed Database Group. | 
| managedDatabaseId | The identifier of a Managed Database. | 
| memoryPool | A type of memory pool. | 
| memoryType | A type of memory. | 
| ociCloudVmClusterId | The OCI identifier of a VM cluster. | 
| ociCloudExadataInfrastructureId | The OCI identifier of the Exadata infrastructure. | 
| parseType | A type of parse. | 
| resourceId | The identifier of a resource. | 
| resourceId\$1Database | The identifier of a database. | 
| resourceId\$1DbNode | The identifier of a database node. | 
| resourceName | The name of a resource. | 
| resourceName\$1Database | The name of a database. | 
| resourceName\$1DbNode | The name of a database node. | 
| resourceType | A type of database. | 
| schemaName | The name of a schema. | 
| status | The status of a database. | 
| tablespaceContents | The contents of a tablespace. | 
| tablespaceName | The name of a tablespace. | 
| tablespaceType | A type of tablespace. | 
| transactionStatus | The status of a transaction. | 
| waitClass | A class of wait event. | 

# Monitoring Oracle Database@AWS events in Amazon EventBridge
Monitoring events

You can monitor Oracle Database@AWS events in EventBridge, which delivers a stream of real-time data from applications and AWS services. EventBridge routes this data to targets such as AWS Lambda and Amazon Simple Notification Service.

**Note**  
EventBridge was formerly called Amazon CloudWatch Events. For more information, see [EventBridge is the evolution of Amazon CloudWatch Events](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cwe-now-eb.html) in the *Amazon EventBridge User Guide*.

## Overview of Oracle Database@AWS events
Overview of events

Oracle Database@AWS events are structured messages that indicate changes in resource lifecycles. An event bus is a router that receives events and delivers them to zero or more destinations, or targets. Oracle Database@AWS events can be generated from the following sources:

**Events from AWS**  
These events are generated from Oracle Database@AWS APIs on the AWS side and are delivered to the default event bus in your AWS account.

**Events from OCI**  
These events are generated directly from OCI, such as events related to Oracle Exadata infrastructure or VM clusters. When you subscribe to Oracle Database@AWS, an event bus with prefix `aws.partner/odb/` is created in your AWS account to receive events from OCI.

## Oracle Database@AWS events from AWS
Events from AWS

Oracle Database@AWS events from AWS include lifecycle changes related to the ODB network during creation and deletion. These events are delivered to the default event bus in your AWS account. The delivery type is [https://docs.aws.amazon.com/eventbridge/latest/ref/event-delivery-level.html](https://docs.aws.amazon.com/eventbridge/latest/ref/event-delivery-level.html).


**ODB network events**  

| Event | Event ID | Message | 
| --- | --- | --- | 
| Creation | ODB-EVENT-0001 | Successfully created ODB network odbnet\$1ID | 
| Creation failed | ODB-EVENT-0011 | Failed to create ODB network odbnet\$1ID | 
| Deletion | ODB-EVENT-0002 | Successfully deleted ODB network odbnet\$1ID | 
| Deletion failed | ODB-EVENT-0012 | Failed to delete ODB network odbnet\$1ID | 

### Example: ODB network creation event


The following example shows an event for a successful ODB network creation.

```
{
  "version": "0",
  "id": "01234567-EXAMPLE",
  "detail-type": "ODB Network Event",
  "source": "aws.odb",
  "account": "123456789012",
  "time": "2025-06-12T10:23:43Z",
  "region": "us-east-1",
  "resources": [
    "arn:aws:odb:us-east-1:123456789012:odbnetwork/odbnet-1234567890abcdef"
  ],
  "detail": {
    "eventId": "ODB-EVENT-0001",
    "message": "Successfully created ODB network odbnet-1234567890abcdef"
  }
}
```

## Oracle Database@AWS events from OCI
Events from OCI

Most events are generated directly from OCI. Oracle Database@AWS creates an event bus with prefix `aws.partner/odb/` in your AWS account to receive events from OCI. We recommend that you do not delete this event bus.

OCI provides comprehensive event types, including the following:
+ Oracle Exadata infrastructure
+ VM cluster events
+ CDB events
+ PDB events

For more information about the specific event types and details that OCI supports, see [Oracle Exadata Database Service on Dedicated Infrastructure Events ](https://docs.oracle.com/en/engineered-systems/exadata-cloud-service/ecscm/ecs-events.html) and [Events for Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/arfad/index.html#articletitle).

## Filtering Oracle Database@AWS events
Filtering events

You can follow EventBridge suggested best practices on event bus setup at [Event buses in Amazon EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html). Depending on your use cases, you can set up EventBridge rules to filter events and targets to receive and use events.

### Filtering ODB network events from AWS


For ODB network events from AWS, you can filter using the following event pattern:

```
{
  "source": ["aws.odb"],
  "detail-type": ["ODB Network Event"]
}
```

You can apply this pattern using the EventBridge `put-rule` API with the default event bus. For more information, see [PutRule]() in the *Amazon EventBridge API Reference*.

### Filtering Oracle Database@AWS events from OCI


For Oracle Database@AWS events from OCI, you can set up a rule using a command similar to the example in [PutRule]() in the *Amazon EventBridge API Reference*. Note the following guidelines:
+ Use a custom event pattern depending on the event types that you want to filter.
+ Set **EventBusName** to the name of the bus that Oracle Database@AWS created.

For more information about how to filter events and set up EventBridge targets across accounts, see [Sending and receiving events between AWS accounts in Amazon EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-account.html).

## Troubleshooting Oracle Database@AWS events


If you encounter an issue with event delivery or event content, do the following:
+ For ODB network events, contact AWS Support.
+ For Oracle Database@AWS events other than ODB network events, contact Oracle Cloud Support.

For more information, see [Getting support for Oracle Database@AWS](odb-troubleshooting-overview.md#oracle-database-aws-support).

# Logging Oracle Database@AWS API calls using AWS CloudTrail
CloudTrail logs

Oracle Database@AWS is integrated with [AWS CloudTrail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html), a service that provides a record of actions taken by a user, role, or an AWS service. CloudTrail captures all API calls for Oracle Database@AWS as events. The calls captured include calls from the Oracle Database@AWS console and code calls to the Oracle Database@AWS API operations. Using the information collected by CloudTrail, you can determine the request that was made to Oracle Database@AWS, the IP address from which the request was made, when it was made, and additional details.

Every event or log entry contains information about who generated the request. The identity information helps you determine the following:
+ Whether the request was made with root user or user credentials.
+ Whether the request was made on behalf of an IAM Identity Center user.
+ Whether the request was made with temporary security credentials for a role or federated user.
+ Whether the request was made by another AWS service.

**Note**  
Oracle Database@AWS records `GetCallerIdentity` API calls from AWS Security Token Service (STS) in your CloudTrail logs. These STS API calls verify the identity of Oracle Database@AWS when interacting with OCI on your behalf. They are a normal and secure part of AWS operations and do not expose sensitive information.

CloudTrail is active in your AWS account when you create the account and you automatically have access to the CloudTrail **Event history**. The CloudTrail **Event history** provides a viewable, searchable, downloadable, and immutable record of the past 90 days of recorded management events in an AWS Region. For more information, see [Working with CloudTrail Event history](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html) in the *AWS CloudTrail User Guide*. There are no CloudTrail charges for viewing the **Event history**.

For an ongoing record of events in your AWS account past 90 days, create a trail or a [CloudTrail Lake](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake.html) event data store.

**CloudTrail trails**  
A *trail* enables CloudTrail to deliver log files to an Amazon S3 bucket. All trails created using the AWS Management Console are multi-Region. You can create a single-Region or a multi-Region trail by using the AWS CLI. Creating a multi-Region trail is recommended because you capture activity in all AWS Regions in your account. If you create a single-Region trail, you can view only the events logged in the trail's AWS Region. For more information about trails, see [Creating a trail for your AWS account](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-and-update-a-trail.html) and [Creating a trail for an organization](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-trail-organization.html) in the *AWS CloudTrail User Guide*.  
You can deliver one copy of your ongoing management events to your Amazon S3 bucket at no charge from CloudTrail by creating a trail, however, there are Amazon S3 storage charges. For more information about CloudTrail pricing, see [AWS CloudTrail Pricing](https://aws.amazon.com/cloudtrail/pricing/). For information about Amazon S3 pricing, see [Amazon S3 Pricing](https://aws.amazon.com/s3/pricing/).

**CloudTrail Lake event data stores**  
*CloudTrail Lake* lets you run SQL-based queries on your events. CloudTrail Lake converts existing events in row-based JSON format to [ Apache ORC](https://orc.apache.org/) format. ORC is a columnar storage format that is optimized for fast retrieval of data. Events are aggregated into *event data stores*, which are immutable collections of events based on criteria that you select by applying [advanced event selectors](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-concepts.html#adv-event-selectors). The selectors that you apply to an event data store control which events persist and are available for you to query. For more information about CloudTrail Lake, see [Working with AWS CloudTrail Lake](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake.html) in the *AWS CloudTrail User Guide*.  
CloudTrail Lake event data stores and queries incur costs. When you create an event data store, you choose the [pricing option](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html#cloudtrail-lake-manage-costs-pricing-option) you want to use for the event data store. The pricing option determines the cost for ingesting and storing events, and the default and maximum retention period for the event data store. For more information about CloudTrail pricing, see [AWS CloudTrail Pricing](https://aws.amazon.com/cloudtrail/pricing/).

## Oracle Database@AWS management events in CloudTrail


[Management events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html#logging-management-events) provide information about management operations that are performed on resources in your AWS account. These are also known as control plane operations. By default, CloudTrail logs management events.

Oracle Database@AWS logs all Oracle Database@AWS control plane operations as management events.

## Oracle Database@AWS event examples


An event represents a single request from any source and includes information about the requested API operation, the date and time of the operation, request parameters, and so on. CloudTrail log files aren't an ordered stack trace of the public API calls, so events don't appear in any specific order.

The following example shows a CloudTrail event that demonstrates the `CreateOdbNetwork` operation.

```
{
    "eventVersion": "1.09",
    "userIdentity": {
        "type": "AssumedRole",
        "principalId": "AKIAIOSFODNN7EXAMPLE:yourRole",
        "arn": "arn:aws:sts::123456789012:assumed-role/Admin/yourRole",
        "accountId": "123456789012",
        "accessKeyId": "AKIAI44QH8DHBEXAMPLE",
        "sessionContext": {
            "sessionIssuer": {
                "type": "Role",
                "principalId": "AKIAIOSFODNN7EXAMPLE",
                "arn": "arn:aws:iam::123456789012:role/Admin",
                "accountId": "123456789012",
                "userName": "Admin"
            },
            "attributes": {
                "creationDate": "2024-11-06T21:17:29Z",
                "mfaAuthenticated": "false"
            }
        }
    },
    "eventTime": "2024-11-06T21:17:44Z",
    "eventSource": "odb.amazonaws.com",
    "eventName": "CreateOdbNetwork",
    "awsRegion": "us-east-1",
    "sourceIPAddress": "192.0.2.0",
    "userAgent": "python-requests/2.28.2",
    "requestParameters": {
        "availabilityZoneId": "use1-az6",
        "backupSubnetCidr": "123.45.6.7/89",
        "clientSubnetCidr": "123.44.6.7/89",
        "clientToken": "testClientToken",
        "defaultDnsPrefix": "testLabel",
        "displayName": "yourOdbNetwork"
    },
    "responseElements": {
        "displayName": "yourOdbNetwork",
        "odbNetworkId": "odbnet_1234567",
        "status": "PROVISIONING"
    },
    "requestID": "daf2e3f5-96a3-4df7-a026-863f96db793e",
    "eventID": "797163d3-5726-441d-80a7-6eeb7464acd4",
    "readOnly": false,
    "eventType": "AwsApiCall",
    "managementEvent": true,
    "recipientAccountId": "123456789012",
    "eventCategory": "Management",
    "tlsDetails": {
        "tlsVersion": "TLSv1.2",
        "cipherSuite": "ECDHE-RSA-AES128-GCM-SHA256",
        "clientProvidedHostHeader": "odb.us-east-1.amazonaws.com"
    }
}
```

For information about CloudTrail record contents, see [CloudTrail record contents](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html) in the *AWS CloudTrail User Guide*.