tencent cloud

APIs

DescribeGlobalAcceleratorAccessLog

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-09-14 20:55:57

1. API Description

Domain name for API request: ga2.intl.tencentcloudapi.com.

Query log tasks

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeGlobalAcceleratorAccessLog.
Version Yes String Common Params. The value used for this API: 2025-01-15.
Region No String Common Params. This parameter is not required.
GlobalAcceleratorId Yes String

Unique Id of the ga instance

Filters.N No Array of Filter

Query filter parameters. { "Name": "listener-id", "Values": ["listener unique id"] },{ "Name": "endpoint-group-id", "Values": ["Terminal node group unique id"] },{ "Name": "access_log_id", "Values": ["log unique id"] }

Offset No Integer

Offset. Default value: 0.

Limit No Integer

Number of returned results.

Value range: [0, 200]

3. Output Parameters

Parameter Name Type Description
GlobalAcceleratorAccessLog Array of GlobalAcceleratorAccessLog

Return log task detail

TotalCount Integer

Number of log task entries.

RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 An Example of Querying a Log Task

Input Example

POST / HTTP/1.1
Host: ga2.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeGlobalAcceleratorAccessLog
<Common request parameters>

{
    "GlobalAcceleratorId": "ga-rs4cpp5u",
    "Filters": [
        {
            "Name": "listener-id",
            "Values": [
                "lsr-3c7xwnq3"
            ]
        }
    ],
    "Offset": 0,
    "Limit": 10
}

Output Example

{
    "Response": {
        "GlobalAcceleratorAccessLog": [
            {
                "CloudLogId": "8b82e387-a213-41f7-aaa3-2fd6d02265d8",
                "CloudLogSetId": "b18a3982-b759-4809-9f59-17a0b971f223",
                "CloudRegion": "ap-guangzhou",
                "EndpointGroupId": "epg-pg931p4y",
                "FieldKeys": [],
                "FlowLogDescription": "wick-test create log task-modification",
                "GlobalAcceleratorId": "ga-rs4cpp5u",
                "ListenerId": "lsr-3c7xwnq3",
                "LogPushTaskId": "galog-8agteyy6",
                "Status": "active"
            }
        ],
        "TotalCount": 1,
        "RequestId": "fb502cae-f49f-4797-b9c9-49bb66046d8c"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InvalidParameterValue Parameter value error.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백