Data Drift Functions
Use data drift functions to create alerts when data drift occurs. You can use these functions in data drift rules.
You can replace any argument with a literal or an expression that evaluates to the argument. String literals must be enclosed in single or double quotation marks.
Not valid in Data Collector Edge pipelines. Do not use data drift functions in Data Collector Edge pipelines.
The expression language provides the following data drift functions:
- drift:names(<field path>, <ignoreWhenMissing: true | false>)
- Triggers an alert when key values change in a map or list-map field. When key values are field names, triggers an alert when field names change. Use with list-map or map fields.
- drift:order(<field path>, <ignoreWhenMissing: true | false>)
- Triggers an alert when the field order changes for fields within a list-map field. Use only with list-map fields.
- drift:size(<field path>, <ignoreWhenMissing: true | false>)
- Triggers an alert when the number of fields changes within a list, list-map, or map field. Use with list, list-map, or map fields.
- drift:type(<field path>, <ignoreWhenMissing: true | false>)
- Triggers an alert when the data type of the specified field changes. Evaluates only the specified field.