Manage consumer processors

更新时间:
复制 MD 格式

When you consume data from a Logstore in real time, you can use a consumer processor to perform data transformations, such as data filtering, field extraction, field enrichment, and data masking. This topic describes how to manage consumer processors in the Simple Log Service console.

Create a consumer processor

Console

  1. Log on to the Simple Log Service console. In the Projects section, click the project you want.

    image

  2. In the navigation pane, choose Resources > Data Processor. On the Data Processor page, click Consumer Processor.

  3. On the Consumer Processor tab, click Create. In the Create Processor panel, configure Processor Name, Description, and SPL, and then click Save . The following table describes the parameters.

    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

PutConsumeProcessor - Create or update a consumer processor

Delete or update a consumer processor

If you delete a consumer processor, programs that use it, such as Flink, DataWorks, and SDKs, will continuously report errors and stop consuming data. Stop the consumer programs before you delete the consumer processor.

Console

On the Data Processor > Consumer Processor tab, you can view the list of created processors. To manage a processor, click Modify or Delete.

API

What to do next