Search/Replace Value
uses `regex` to do a global search/replace in the key specified by "key"
The Search/Replace Value action uses regex
to do a global search and replace in the key specified by key
. When applied to your processing rule, the Search/Replace Value action finds any occurrence of a specified regex in a key pattern, and replaces them in place.
For example, given the following sample website log data:
To replace every occurrence of the click
value in the action
key with view
:
In the processing rules tab, in the Actions dropdown, select Search/Replace value.
In the Key field, enter
action
.In the Regex field, enter
click
.In the Maximum number of substitutions field, enter a limit on the number of substitutions you want in your pipeline.
In the Replacement field, enter
view
.Click Apply.
Your processing rule will replace instances of the value click
with the value view
, wherever the click
value is found in the action
key.
Last updated