Skip to main content

Built-in transformations

Snowbridge includes several configurable built-in transformations.

TransformationFunctionalitySnowplow data only
base64DecodeBase64-decodes the message's data.
base64EncodeBase64 encodes the message's data.
jqRuns a jq command on the message data, and outputs the result of the command.
jqFilterFilters messages based on the output of a jq command.
spEnrichedFilterFilters messages based on a regex match against an atomic field.
spEnrichedFilterContextFilters messages based on a regex match against a field in an entity.
spEnrichedFilterUnstructEventFilters messages based on a regex match against a field in a custom event.
spEnrichedSetPkSets the message's destination partition key.
spEnrichedToJsonTransforms a message's data from Snowplow enriched tsv string format to a JSON object.
spGtmssPreviewAttaches a GTM SS preview mode header