Skip to main content

train

Purpose

train tells the Speedscale AI to replace one value with another value wherever it is encountered. For example, let's say we need to replace a set of unique user IDs spread throughout a large set of traffic. It would take a long time to meticulously define and replace each instance of the user ID. Instead, use train to match each user ID with a new value whenever it is encountered. Insert train at the beginning of a transform chain and the value being extracted will be matched with the new value at the end of the chain in the future.

Usage

"type": "train"

Example

Configuration

"type": "train"