tencent cloud

文档反馈

Getting Log Cursor

最后更新时间:2022-02-23 16:59:45

    Feature Description

    This API is used to get the log cursor under a specified log topic and download.

    Request

    Sample request

    GET /cursor?topic_id=xxxxxxxx-xxxx-xxxx-xxxx&start=2017-12-28%2014%3A13%3A00 HTTP/1.1
    Host: .cls.tencentyun.com
    Authorization: 
    

    Request line

    GET /cursor
    

    Request header

    There are only common request headers but no special request headers.

    Request parameters

    Field Name Type Location Required Description
    topic_id string query Yes Log topic ID
    start string query Yes Log start time accurate to the minute in the format of YYYY-mm-dd HH:MM:SS

    Response

    Sample response

    HTTP/1.1 200 OK
    Content-Type: application/json
    Content-Length: 23
    {
    "cursor": "1212ssssxxxxxx"
    }
    

    Response header

    There are only common response headers but no special response headers.

    Response parameters

    Field Name Type Required Description
    cursor string Yes Cursor

    Error Codes

    For more information, please see Error Codes.

    联系我们

    联系我们,为您的业务提供专属服务。

    技术支持

    如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

    7x24 电话支持