All Products
Search
Document Center

Simple Log Service:ListConsumeProcessors

Last Updated:Sep 15, 2025

Queries a list of consumption processors that meet specific conditions.

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

GET /consumeprocessors HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
processorNamestringNo

The identifier of the consumption processor.

consume-processor-1
displayNamestringNo

The display name of the consumption processor.

filter-get-request
offsetstringNo

The offset. Default value: 0.

0
sizestringNo

The number of entries. Default value: 200.

100

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.

object

Schema of Response

totalinteger

The total number of consumption processors that meet the query conditions.

20
countinteger

The number of consumption processors for offset.

10
processorsarray

The list of consumption processor information.

ConsumeProcessor

Consumption processor information.

Examples

Sample success responses

JSONformat

{
  "total": 20,
  "count": 10,
  "processors": [
    {
      "processorName": "consume-processor-1",
      "displayName": "",
      "description": "",
      "configuration": {
        "spl": "* | project content"
      },
      "createTime": 1717171200,
      "updateTime": 1717171200
    }
  ]
}

Error codes

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