script

script #

CategoryScope
Advancedrecord

The “script” pipeline processor: arbitrary record transforms in ECMAScript (goja) — the escape hatch when the declarative processors cannot express the logic.

Configuration #

FieldTypeDefaultDescription
scriptstringECMAScript (goja) source of the transform.
ignore_failureboolDo not fail the record when processing errors; the record passes through unchanged.
tagstringTag appended to the record when processing fails.

Example #

processor:
  - script:
      script: "script"
      ignore_failure: true
      tag: "tag"
Edit Edit this page