From 918f62f97ae34845025a34506bae16f347c16967 Mon Sep 17 00:00:00 2001 From: Alexander Reelsen Date: Sun, 4 Mar 2018 11:49:42 -0800 Subject: [PATCH] Docs: Remove mentions of file based script in watcher relates elastic/x-pack-elasticsearch#3755 Original commit: elastic/x-pack-elasticsearch@cfc023543dbb444d223f5a28ddf35931c9edaeca --- docs/en/watcher/transform/script.asciidoc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/en/watcher/transform/script.asciidoc b/docs/en/watcher/transform/script.asciidoc index a339a02f4e6..0a3bd401dc7 100644 --- a/docs/en/watcher/transform/script.asciidoc +++ b/docs/en/watcher/transform/script.asciidoc @@ -45,9 +45,6 @@ The following table lists the possible settings that can be configured: | `inline` | yes* | - | When using an inline script, this field holds the script itself. -| `file` | yes* | - | When referring to a script file, this field - holds the name of the file. - | `id` | yes* | - | When referring to a stored script, this field holds the id of the script. @@ -56,12 +53,10 @@ The following table lists the possible settings that can be configured: | `params` | no | - | Additional parameters/variables that are accessible by the script -4+d| * When using the object notation, only one of `inline`, `file` or `id` - fields must be defined |====== When using the object notation of the script, one (and only one) of `inline`, -`file` or `id` fields must be defined +or `id` fields must be defined NOTE: In addition to the provided `params`, the scripts also have access to the <>.