All Products
Search
Document Center

Simple Log Service:PutConsumeProcessor

Last Updated:Sep 15, 2025

Creates or updates a consumption processor.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

PUT /consumeprocessors/{processorName} HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
processorNamestringYes

The identifier of the consumption processor.

consume-processor-1
bodyobjectNo

The request body.

displayNamestringYes

The display name.

filter-get-request
descriptionstringNo

The description.

configurationConsumeProcessorConfigurationYes

Consumption processor configuration.

Response parameters

ParameterTypeDescriptionExample
headersobject
Serverstring

The name of the server.

Content-Typestring

The type of the response body.

Content-Lengthstring

The length of the response body.

Connectionstring

Indicates whether the connection is persistent. close: The connection is non-persistent. A new TCP connection is established for each HTTP request. keep-alive: The connection is persistent. After a TCP connection is established, the connection remains open, and no more time or bandwidth is consumed to establish new connections.

Datestring

The time at which the response was returned.

x-log-requestidstring

The request ID.

Examples

Sample success responses

JSONformat

{}

Error codes

For a list of error codes, visit the Service error codes.