This topic compares the rule syntax between the old and new versions of data transformation.
For more information about the comparison between the Structured Process Language (SPL) of Simple Log Service and SQL in data processing scenarios, see Scenario comparison between SPL and SQL.
Data Synchronization (No Processing Logic Required)
|
Version |
Script description |
|
Old version |
The old version of data transformation DSL script is empty. |
|
New version |
The new version of data transformation SPL rule is empty. |
Data Screening and Filtering: Exact Match for Text Type
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Data Screening and Filtering: Numeric Type Filtering
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Data Screening and Filtering: Fuzzy Match
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Add a Field, Such as Extracting or Constructing a Single Key Information Item
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Parse and Format Time Information
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Field Processing and Filtering
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Regex-based Extraction of Multiple Fields
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Expand JSON Object Key-Value Information into Data Fields
|
Version |
Script description |
|
Old version |
For more information about the JSON query syntax in the old version of data transformation, see JMESPath syntax.
|
|
New version |
For more information about the JSON object path reference in the new version of data transformation, see JsonPath on GitHub.
|
Extract CSV Format Content as Data Fields
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Logical Branch Processing: Parallel Branches
|
Version |
Script description |
|
Old version |
This is equivalent to the following Python code structure:
|
|
New version |
|
Logical Branch Processing: Mutually Exclusive Branches (if-else/switch)
|
Version |
Script description |
|
Old version |
This is equivalent to the following Python code structure:
|
|
New version |
|
Dynamically Select the Destination Project/LogStore for Data Based on Rules
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Route Transformation Results to the Corresponding Destination Shard by Specifying a HashKey
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Package Fields and Serialize to JSON in a New Field
|
Version |
Script description |
|
Old version |
|
|
New version |
|
Convert Log Format to Time Series Storage Format
|
Version |
Script description |
|
Old version |
|
|
New version |
|