Skip to content

Stalled

Stalled (stalled)

Emit stall markers when no matching events arrive within the configured timeout.

Stateful Transform json

Minimal example

actions:
- stalled:
marker: ~
timeout: ""
JSON
{
"actions": [
{
"stalled": {
"marker": null,
"timeout": ""
}
}
]
}

Contents

Behaviour

Behaviour
FieldTypeRequiredDescription
markerstringField/value pair (e.g. “status:stalled”) stamped onto generated events.
use-document-markerboolean (bool)Emit document markers instead of JSON payloads.
Default: false
timeoutduration (string)Duration to wait before flagging the stream as stalled (e.g. ”30s”).

Diagnostics

Diagnostics
FieldTypeRequiredDescription
ignore-warningboolean (bool)Suppress warnings when the timeout is very low or configuration is incomplete.
Default: false

General

General
FieldTypeRequiredDescription
descriptionstringDescribe this step.
conditionlua-expression (string)Only run this action when the Lua condition evaluates to true.
Examples: 2 * count()

Input

Input
FieldTypeRequiredDescription
input-fieldfield (string)Only consider events grouped by the value of this field.
Examples: data_field
time-fieldfield (string)Field containing event time used for timeout calculations.
Examples: data_field

Persistence

Persistence
FieldTypeRequiredDescription
save-filepath (string)Optional file where stall state is written for recovery.
Examples: /path/to/file, c:\users\joe\data\file.txt