Skip to main content

Transforms

Transforms rewrite event properties when a filter matches.

The supported transform properties are:

PropertyDescription
summaryEvent title.
descriptionEvent description/body.
locationEvent location.
urlEvent URL.

String transform options:

TransformDescription
removeSets the property to a blank string.
replaceReplaces the entire property value.
trim_prefixRemoves this text when the value starts with it.
trim_suffixRemoves this text when the value ends with it.
replace_textReplaces literal text inside the value.
prefixAdds text before the current value.
suffixAdds text after the current value.

Example:

config.yaml excerpt
filters:
- description: "Clean event summaries"
transform:
summary:
trim_prefix: "Roster - "
replace_text:
old: "Primary On Call"
new: "On-Call"
all: true
prefix: "[Team A] "
warning

replace_text.old must not be empty.