Consumer processors transform data consumed from a Logstore in real time. Common use cases include data filtering, field extraction, field enrichment, and data masking.
Create a consumer processor
Console
Log on to the Simple Log Service console. In the Projects section, click the project you want.

-
In the navigation pane, choose . On the Data Processor page, click Consumer Processor.
-
On the Consumer Processor tab, click Create. In the Create Processor panel, configure Processor Name, Description, and SPL, and then click Save .
Parameter
Description
Processor Name
The name of the consumer processor.
Description
The description of the consumer processor.
SPL
The Structured Process Language (SPL) statement. For more information about the SPL syntax, see SPL syntax.
API
Delete or update a consumer processor
If you delete a consumer processor, programs that depend on it, such as Flink, DataWorks, and SDKs, will continuously report errors and stop consuming data. Stop all consumer programs before you delete the processor.
Console
On the tab, you can view the list of created processors. To manage a processor, click Modify or Delete.