Log in Oracle Cloud Infrastructure is a resource that captures, stores, and manages log data from various OCI services and custom applications. It allows you to centralize logs for monitoring, troubleshooting, and auditing purposes. Logs can be ingested in real time, filtered, and routed to services like Logging Analytics or Object Storage for deeper analysis and long-term retention.

oci.logging_log

Fields

TitleIDTypeData TypeDescription
_keycorestring
cloud_account_idcorestringThe identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.
cloud_account_namecorestringThe name of the account this resource belongs to.
cloud_providercorestringThe name of the cloud provider.
cloud_tagscorehstore
compartment_idcorestringThe value to assign to the compartment_id property of this Log.
configurationcorejsonThe value to assign to the configuration property of this Log.
created_atcoretimestampTime when the resource has been created.
freeform_tagscorehstoreThe value to assign to the freeform_tags property of this Log.
idcorestringThe value to assign to the id property of this Log.
is_enabledcoreboolThe value to assign to the is_enabled property of this Log.
lifecycle_statecorestringThe value to assign to the lifecycle_state property of this Log. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "INACTIVE", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
log_group_idcorestringThe value to assign to the log_group_id property of this Log.
log_typecorestringThe value to assign to the log_type property of this Log. Allowed values for this property are: "CUSTOM", "SERVICE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
namecorestringThe name of this resource.
region_idcorestringThe region this resource resides within.
resource_typecorestringThe name of the resource type.
retention_durationcoreint64The value to assign to the retention_duration property of this Log.
tagscorehstore_csv
tenancy_idcorestringThe value to assign to the tenancy_id property of this Log.
time_createdcoretimestampThe value to assign to the time_created property of this Log.
time_last_modifiedcoretimestampThe value to assign to the time_last_modified property of this Log.
updated_atcoretimestampTime when the resource has been updated the last time.
zone_idcorestringThe zone this resource resides within.