Torch Log Service
Configuration | Description |
Configuration | Description |
Log type | Logs that TOS access. |
Log storage location | After enabling the TOS log analysis feature, TLS will create a dedicated TOS log project and log topic in the current region. For details, see Manage TOS log resources.
|
Log retention period | By deault, it is seven days. Logs will be automatically deleted after expiration. You can also modify the log retention period based on your business needs. |
Log shards | Two shards are preset. Auto split is enabled by default. When write traffic is high, TLS will automatically split shards to meet data write requirements. |
Index settings | Indexes have been configured for all fields. |
Log fields |
Name | Description |
Name | Description |
LogType | The log type for TOS is tos_access_log. |
Time | The time when TOS received the request. |
RequestId | The request ID. |
Bucket | The name of the TOS bucket. |
Object | The key of the requested object. |
ObjectSize | The size of the requested object. Unit: bytes. |
VersionId | The version ID of the requested object. |
Operation | The type of the action. |
RemoteIp | The source IP address of the request. |
BucketLocation | Region where the TOS bucket is located. |
StorageClass | Storage class of the TOS bucket. The possible values are as follows:
|
Host | The domain name accessed by the request. |
HTTPMethod | The HTTP request method. |
HTTPStatus | The HTTP status code returned for the request. |
HTTPSchema | The protocol of the HTTP request, including HTTP and HTTPS. |
RequestSize | The value of Content-Length in request header, measured in bytes. |
ResponseSize | The value of Content-Length in response header, measured in bytes. |
DeltaDataSize | Change in storage size (bytes) caused by the request, as follows:
|
HistoricalVersionDeltaSize | Description of changes in the storage size of historical version objects (Bytes) is as follows:
|
RequestUri | The URI of the HTTP request, including query-string. |
CostTime | The time it takes the TOS server to process the request, measured in milliseconds. |
UserAgent | The HTTP User-Agent header. |
Referer | The HTTP Referer of the request. |
OwnerId | The account ID of the bucket owner. |
RequesterId | The account ID of the requester. If it is anonymous access, this is displayed as a hyphen (-). |
AccessKeyId | The AccessKey ID of the requester. |
RequesterUserName | The username of the requester. |
RequestSourceType | The type of synchronous request. The details are as follows:
|
ErrorCode | The error code returned by TOS. |
ReservedFiled | Reserved field, displayed as -. |
MirrorSourceStatus | The status code returned by the origin server in back-to-origin scenarios. |
ECCode | The EC error code. |
RespTime | Response time, that is, the time from receiving the request to responding with the first byte, in milliseconds. |
TrashPath | The storage path of deleted objects in the recycle bin when the recycle bin feature is enabled for an HNS bucket. |
MRAPAlias | Alias of the multi-region access point. |
MRAPDstEndpoint | When accessing TOS via a multi-region access point and the source bucket object does not exist, the bucket domain name of the target storage bucket for origin fetch. |
MRAPDstRegion | When accessing TOS via a multi-region access point and the source bucket object does not exist, the region of the target storage bucket for origin fetch. |
MRAPDstBucket | When accessing TOS via a multi-region access point and the source bucket object does not exist, the name of the target storage bucket for origin fetch. |
MRAPSrcRegion | When accessing TOS via a multi-region access point, the source region to which the request is routed. |
MRAPSrcBucket | When accessing TOS via a multi-region access point, the source bucket to which the request is routed. |
StorageTier | The tier of the object in intelligent tiering. Possible values are as follows:
|
Payer | The paying party for the request. The possible values are as follows:
|
TargetStorageClass | The storage class of the target object. This field is returned only when the Operation field is TransferObject or CopyObject, as described below:
|