All Products
Search
Document Center

Simple Log Service:OSS log fields

Last Updated:Feb 28, 2026

This topic describes the log fields for Object Storage Service (OSS) logs collected by Simple Log Service. OSS produces three types of logs: access logs, batch deletion logs, and hourly metering logs. Each log type uses a different topic value and captures a distinct set of fields.

Access logs

Access logs record all incoming requests to each OSS bucket. These logs are collected in real time.

The __topic__ value for access logs is oss_access_log.

FieldDescription
__topic__Log topic. Fixed value: oss_access_log.
owner_idID of the Alibaba Cloud account that owns the bucket.
regionRegion where the bucket resides.
access_idAccessKey ID of the requester.
timeTime at which OSS receives the request. To record timestamps, use the __time__ field instead.
User-AgentUser-Agent field in the request header.
logging_flagWhether logging is enabled to export logs to a bucket at regular intervals.
bucketName of the bucket.
content_length_inContent-Length value in the request header. Unit: bytes.
content_length_outContent-Length value in the response header. Unit: bytes.
objectURL-encoded requested object. To decode the object name, include select url_decode(object) in your query statement.
object_sizeSize of the requested object. Unit: bytes.
operationAPI operation. For more information, see Operation types.
request_uriURL-encoded URI of the request, including the query string. To decode the URI, include select url_decode(request_uri) in your query statement.
error_codeError code returned by OSS. For more information, see Overview.
request_lengthSize of the request, including the header. Unit: bytes.
client_ipIP address from which the request is sent. This address can be the IP address of a client, firewall, or proxy.
response_body_lengthSize of the response body, excluding the header.
http_methodHTTP method used to send the request.
refererReferer field in the request header.
requester_idID of the Alibaba Cloud account that sends the request. A hyphen (-) indicates an anonymous request.
request_idID of the request.
response_timeTime taken by OSS to respond to the request. Unit: milliseconds.
server_cost_timeTime taken by OSS to process the request. Unit: milliseconds.
http_typeProtocol used for the request. Valid values: HTTP and HTTPS.
sign_typeSignature type in the request. For more information, see Signature types.
http_statusHTTP status code in the response.
sync_requestSynchronous communication type for the request. For more information, see Synchronous request types.
bucket_storage_typeStorage class of the requested object. For more information, see Storage classes.
hostEndpoint of the bucket.
vpc_addrVirtual IP address (VIP) of the server that hosts the bucket in a Virtual Private Cloud (VPC). Data type: integer. Example: 343819108. To convert this value to an IP address, use the int_to_ip(cast(vpc_addr as bigint)) function.
vpc_idVPC ID.
delta_data_sizeChange in the size of the requested object. A value of 0 means the object size did not change. A hyphen (-) means the request is not an upload request.
acc_access_regionRegion of the OSS endpoint specified in the request when transfer acceleration is enabled. A hyphen (-) means transfer acceleration is disabled.
restore_priorityPriority of the log in the event of data restoration.
extend_informationExtended fields. Default value: hyphen (-). If the request is initiated by using a RAM role, this field records the RAM role information in the format requesterParentId,roleName,roleSessionName,roleOwnerId. Fields are separated by commas (,). New fields can be added to this format.

Batch deletion logs

Batch deletion logs record operations that delete multiple objects at a time from each bucket. These logs are collected in real time.

The __topic__ value for batch deletion logs is oss_batch_delete_log.

Note

When you call the DeleteObjects operation, an access log is generated for the operation. Because the information about the deleted objects is in the request body, the object field in the access log is set to a hyphen (-). To view the deleted objects, query the batch deletion logs where the request_id value matches the request ID.

FieldDescription
__topic__Log topic. Fixed value: oss_batch_delete_log.
owner_idID of the Alibaba Cloud account that owns the bucket.
regionRegion where the bucket resides.
client_ipIP address from which the request is sent. This address can be the IP address of a client, firewall, or proxy.
user_agentUser-Agent field in the request header.
bucketName of the bucket.
error_codeError code returned by OSS. For more information, see Overview.
request_lengthSize of the request body, including the header. Unit: bytes.
response_body_lengthSize of the response body, excluding the header.
objectURL-encoded requested object. To decode the object name, include select url_decode(object) in your query statement.
object_sizeSize of the requested object. Unit: bytes.
operationAPI operation. For more information, see Operation types.
bucket_locationCluster to which the bucket belongs.
http_methodHTTP method used to send the request.
refererReferer field in the request header.
request_idID of the request.
http_statusHTTP status code in the response.
sync_requestSynchronous communication type for the request. For more information, see Synchronous request types.
request_uriURL-encoded URI of the request, including the query string. To decode the URI, include select url_decode(request_uri) in your query statement.
hostEndpoint of the bucket.
logging_flagWhether logging is enabled to export logs to a bucket at regular intervals.
server_cost_timeTime taken by OSS to process the request. Unit: milliseconds.
requester_idID of the Alibaba Cloud account that sends the request. A hyphen (-) indicates an anonymous request.
delta_data_sizeChange in the size of the requested object. A value of 0 means the object size did not change. A hyphen (-) means the request is not an upload request.

Hourly metering logs

Hourly metering logs record storage and traffic metrics for each bucket on an hourly basis. These logs are collected several hours after they are generated.

The __topic__ value for hourly metering logs is oss_metering_log.

FieldDescription
__topic__Log topic. Fixed value: oss_metering_log.
owner_idID of the Alibaba Cloud account that owns the bucket.
bucketName of the bucket.
cdn_inInbound traffic from CDN to the bucket. Unit: bytes.
cdn_outOutbound traffic from the bucket to CDN. Unit: bytes.
get_requestNumber of GET requests sent to the bucket.
intranet_inInbound traffic to the bucket over internal networks. Unit: bytes.
intranet_outOutbound traffic from the bucket over internal networks. Unit: bytes.
network_inInbound traffic to the bucket over the Internet. Unit: bytes.
network_outOutbound traffic from the bucket over the Internet. Unit: bytes.
put_requestNumber of PUT requests sent to the bucket.
storage_typeStorage class of the bucket. For more information, see Storage classes.
storageAmount of data in the bucket. Unit: bytes.
metering_datasizeAmount of data whose storage class is not Standard in the bucket.
process_img_sizeSize of the processed image. Unit: bytes.
process_imgThe processed image.
sync_inInbound traffic to the bucket over synchronous requests. Unit: bytes.
sync_outOutbound traffic from the bucket over synchronous requests. Unit: bytes.
start_timeTime at which the metering period starts. Unit: seconds.
end_timeTime at which the metering period ends. Unit: seconds.
regionRegion where the bucket resides.

Reference tables

Storage classes

The following table lists the storage class values that appear in OSS log fields.

Storage classDescription
standardStandard storage class.
archiveArchive storage class.
infrequent_accessInfrequent Access (IA) storage class.

Operation types

The following table lists the operation values that appear in OSS log fields.

OperationDescription
AbortMultiPartUploadCancels a multipart upload task.
AppendObjectAppends an object.
CompleteUploadPartCompletes a multipart upload task.
CopyObjectCopies an object.
DeleteBucketDeletes a bucket.
DeleteLiveChannelDeletes a LiveChannel.
DeleteObjectDeletes an object.
DeleteObjectsDeletes multiple objects.
GetBucketQueries all objects in a bucket.
GetBucketAclQueries the access control list (ACL) of a bucket.
GetBucketCorsQueries the cross-origin resource sharing (CORS) rules of a bucket.
GetBucketEventNotificationQueries the notification configurations of a bucket.
GetBucketInfoQueries the information about a bucket.
GetBucketLifecycleQueries the lifecycle rules of a bucket.
GetBucketLocationQueries the region where a bucket resides.
GetBucketLogQueries the access log configurations of a bucket.
GetBucketRefererQueries the hotlink protection configurations of a bucket.
GetBucketReplicationQueries the cross-region replication (CRR) rules of a bucket.
GetBucketReplicationProgressQueries the progress of a CRR task on a bucket.
GetBucketStatQueries the status of a bucket.
GetBucketWebSiteQueries the static website hosting status of a bucket.
GetLiveChannelStatQueries the status of a LiveChannel.
GetObjectReads an object.
GetObjectAclQueries the ACL of an object.
GetObjectInfoQueries the information about an object.
GetObjectMetaQueries the metadata of an object.
GetObjectSymlinkQueries the symbolic link of an object.
GetPartDataQueries the data in all parts of an object.
GetPartInfoQueries the information about all parts of an object.
GetProcessConfigurationQueries the image processing configurations of a bucket.
GetServiceQueries all buckets created within your Alibaba Cloud account.
HeadBucketQueries the information about a bucket.
HeadObjectQueries the metadata of an object.
InitiateMultipartUploadInitializes a multipart upload task.
ListMultiPartUploadsQueries all multipart upload tasks in progress.
ListPartsQueries the status of all parts of an object.
PostObjectUploads an object by using a form.
PostProcessTaskCommits a data processing task, such as screenshots.
PostVodPlaylistCreates a playlist for a LiveChannel.
ProcessImageProcesses an image.
PutBucketCreates a bucket.
PutBucketCorsConfigures CORS rules for a bucket.
PutBucketLifecycleConfigures lifecycle rules for a bucket.
PutBucketLogEnables logging for a bucket.
PutBucketWebSiteEnables static website hosting for a bucket.
PutLiveChannelCreates a LiveChannel.
PutLiveChannelStatusChanges the state of a LiveChannel.
PutObjectUploads an object.
PutObjectAclModifies the ACL of an object.
PutObjectSymlinkCreates a symbolic link for an object.
RedirectBucketRedirects a request to the endpoint of a different bucket.
RestoreObjectRestores an object.
UploadPartUploads an object by part.
UploadPartCopyCopies a part of an object.
get_image_exifQueries the exchangeable image file format (EXIF) data of an image.
get_image_infoQueries the length and width of an image.
get_image_infoexifQueries the length, width, and EXIF data of an image.
get_styleQueries a style of a bucket.
list_styleQueries all styles of a bucket.
put_styleCreates a style for a bucket.

For more information about API operations, see List of operations by function.

Synchronous request types

The following table lists the synchronous request type values that appear in OSS log fields.

Synchronous request typeDescription
Hyphen (-)General request.
cdnCDN back-to-origin request.
sync-publicCross-region replication (CRR) request.
lifecycleLifecycle rules configuration request.

Signature types

The following table lists the signature type values that appear in OSS log fields.

Signature typeDescription
Hyphen (-)General request.
NotSignUnsigned request.
NormalSignRequest signed with a regular signature.
UriSignRequest signed with a URL signature.
AdminSignRequest signed with an administrator account.
NORMAL_SIGN4Request signed with an Authorization header that includes a V4 signature. For more information, see (Recommended) Include a V4 signature in the Authorization header.
URI_SIGN4Request signed with a URL that includes a V4 signature. For more information, see Signature version 4 (recommended).

For more information about signatures, see Verify user signatures.