Details for Compute Cloud@Customer Logs
Logging details for Compute Cloud@Customer logs.
For more information, see Logging for Compute Cloud@Customer.
Resources
- CCCInfrastructure
Log Categories
API value (ID): | Console (Display Name) | Description |
---|---|---|
service_logs | Service Logs | The Compute Cloud@Customer log category |
Availability
Compute Cloud@Customer logs are available in all regions in commercial realms.
Comments
You can enable logs for the Compute Cloud@Customer resources. This provides logs for various activities on your Compute Cloud@Customer resources.
Contents of a CCCInfrastructure Log
Property | Description | Example |
---|---|---|
specversion |
Oracle Cloud Infrastructure Logging schema version. |
|
source | The C3 infrastructure short id |
<unique_ID> |
type | The log category |
|
id | A source-unique identifier for this message. |
|
time | The time the message was generated. |
|
oracle.logid | The OCID of the log object the message was sent to. |
|
oracle.compartmentId |
The OCID of the compartment the log object resided in at the time the message was ingested. | ocid1.compartmentid.oc1. <unique_ID> |
oracle.loggroupid |
The OCID of the log group the object resides in. | ocid1.loggroupid.oc1. <region_ID>. <unique_ID> |
oracle.tenantid |
The OCID of the tenant that owns the log object. | ocid1.tenancy.oc1. <unique_ID> |
data.requestMethod | The HTTP request method. |
|
data.requestPath | The full path of the API request. |
|
data.opcRequestId | The Oracle identifier for the request. |
<unique_ID>/<unique_ID>/<unique_ID> |
data.actorId | The OCID of the resource that performed the action. |
|
data.actorType | The type of resource that performed the action. |
For example, |
data.message | Log message |
|
data.summary | The name of the API operation that generated this activity. |
|
data.success | The result, 1 for success and 0 for failure. |
|
Example CCInfrastructure Log
{
"datetime": 1740050683000,
"logContent": {
"data": {
"requestMethod": "GET",
"requestPath": "/20200501/networkLoadBalancers/ocid1.cccnetworkloadbalancer.oc1.<region_ID>.<unique_ID>",
"requestUri": "/20200501/networkLoadBalancers/ocid1.cccnetworkloadbalancer.oc1.<region_ID>.<unique_ID>",
"opcRequestId": "<unique_ID>/<unique_ID>/<unique_ID>",
"actorId": "ocid1.user.oc1.<region_ID>.<unique_ID>",
"actorType": "USER",
"message": "GetNetworkLoadBalancer success",
"summary": "GetNetworkLoadBalancer",
"success": "1"
},
"id": "<unique_ID>",
"oracle": {
"compartmentid": "ocid1.compartment.oc1.<unique_ID>",
"ingestedtime": "2025-01-01T11:02:52.775Z",
"loggroupid": "ocid1.loggroup.oc1.<region_ID>.<unique_ID>",
"logid": "ocid1.log.oc1.<region_ID>.<unique_ID>",
"tenantid": "ocid1.tenancy.oc1.<unique_ID>"
},
"source": "<unique_ID>",
"specversion": "1.0",
"time": "2020-01-01T11:00:43.000Z",
"type": "com.oraclecloud.ccc.cccinfrastructure.service_log"
},
"regionId": "<region_ID>"
}