Skip to content

Stalled

Stalled (stalled)

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

Transform json

Minimal example

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

Contents

Fields

FieldTypeRequiredDescription
marker BehaviourstringField/value pair (e.g. “status:stalled”) stamped onto generated events.
timeout Behaviourduration (string)Duration to wait before flagging the stream as stalled (e.g. ”30s”).
description GeneralstringDescribe this step.
condition Generallua-expression (string)Only run this action when the Lua condition evaluates to true.
Examples: 2 * count()
use-document-marker Behaviourboolean (bool)Emit document markers instead of JSON payloads.
input-field Inputfield (string)Only consider events grouped by the value of this field.
Examples: data_field
time-field Inputfield (string)Field containing event time used for timeout calculations.
Examples: data_field
save-file Persistencepath (string)Optional file where stall state is written for recovery.
Examples: /path/to/file, c:\users\joe\data\file.txt
ignore-warning Diagnosticsboolean (bool)Suppress warnings when the timeout is very low or configuration is incomplete.

General

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

Behaviour

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

Input

Show fields
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

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

Diagnostics

Show fields
FieldTypeRequiredDescription
ignore-warningboolean (bool)Suppress warnings when the timeout is very low or configuration is incomplete.