Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/ingest/ingest-node.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1758,11 +1758,11 @@ caching see <<modules-scripting-using-caching, Script Caching>>.
| Name | Required | Default | Description
| `lang` | no | "painless" | The scripting language
| `id` | no | - | The stored script id to refer to
| `inline` | no | - | An inline script to be executed
| `source` | no | - | An inline script to be executed
| `params` | no | - | Script Parameters
|======

One of `id` or `inline` options must be provided in order to properly reference a script to execute.
One of `id` or `source` options must be provided in order to properly reference a script to execute.

You can access the current ingest document from within the script context by using the `ctx` variable.

Expand Down