Sends logs to Simple Log Service.
Operation description
You cannot call this operation by using cloud service SDKs that are provided by Alibaba Cloud OpenAPI Portal. You can use Simple Log Service SDK to call this operation. For more information, see SLS SDK Reference.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /logstores/{logstore}/shards/lb HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
logstore | string | Yes | The name of the Logstore. | ali-test-logstore |
x-log-compresstype | string | Yes | The compression format. lz4 and gzip are supported. | lz4 |
body | LogGroup | No | The compressed Protobuf data. |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-09-06 | Add Operation | View Change Details |