Delta
Delta (delta)
Section titled “Delta (delta)”Convenience wrapper that enables stream delta mode with a slim option set.
Stateful Transform json
Minimal example
Section titled “Minimal example”actions: - delta: watch: ""JSON
{ "actions": [ { "delta": { "watch": "" } } ]}Contents
Section titled “Contents”A ✓ marks a field that accepts a context variable such as
{{ VARIABLE }}.
Behaviour
Section titled “Behaviour”Behaviour
| Field | Type | Required | Description |
|---|---|---|---|
only-changes ✓ |
boolean (bool) |
Only emit deltas when the watched field changes. Default: false |
General
Section titled “General”General
| Field | Type | Required | Description |
|---|---|---|---|
description |
string |
Describe this step. | |
condition |
lua-expression (string) |
Only run this action when the Lua condition evaluates to true. Examples: 2 * count() |
Input
| Field | Type | Required | Description |
|---|---|---|---|
watch |
field (string) |
✅ | Field whose numeric value should be differenced. Examples: data_field |
group-by |
field (string) |
Group state independently per key. Examples: data_field |
|
input-time |
field (string) |
Field containing event time for elapsed calculations. Examples: data_field |
Output
Section titled “Output”Output
| Field | Type | Required | Description |
|---|---|---|---|
marker |
string |
Optional marker applied to emitted delta events. | |
output-field |
field (string) |
Field name where the delta is written. Examples: data_field |
|
elapsed-field |
field (string) |
Field name where elapsed milliseconds are written. Examples: data_field |