Delta
Delta (delta)
Convenience wrapper that enables stream delta mode with a slim option set.
Stateful Transform json
Minimal example
actions: - delta: watch: ""JSON
{ "actions": [ { "delta": { "watch": "" } } ]}Contents
Behaviour
Behaviour
| Field | Type | Required | Description |
|---|---|---|---|
only-changes ✓ | boolean (bool) | Only emit deltas when the watched field changes. Default: false |
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
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
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 |