cursor and count.GET /pulllogs?topic_id=xxxxxxxx-xxxx-xxxx-xxxx&partition_id=1&cursor=xxxxxxxxx&count=10 HTTP/1.1Host: <Region>.cls.tencentyun.comAuthorization: <AuthorizationString>
Parameter Name | Type | Location | Required | Description |
topic_id | string | query | Yes | Log topic ID |
partition_id | int | query | Yes | Consumed topic partition number |
cursor | string | query | Yes | Base64-encoded cursor value, which indicates to read data from the current position |
count | int | query | Yes | Number of LogGroup consumed at a time, which can be up to 1,000 (one LogGroup contains multiple logs. For the LogGroup definition, please see Uploading Structured Logs) |
HTTP/1.1 200 OKContent-Type: application/x-protobufContent-Length: 23x-cls-cursor: xxxxxxx-cls-count: 10<Packaged content of `LogGroupList` in pb format>
Header Name | Description |
x-cls-cursor | Base64-encoded cursor value, which indicates to read data from the current position next time and is used for continued consumption |
x-cls-count | Number of LogGroup returned in the current request (one LogGroup contains multiple logs. For the LogGroup definition, please see Uploading Structured Logs) |
LogGroupList object is returned. For the pb file description, please see Uploading Structured Logs.Feedback