Docs: Remove mentions of file based script in watcher

relates elastic/x-pack-elasticsearch#3755

Original commit: elastic/x-pack-elasticsearch@cfc023543d
This commit is contained in:
Alexander Reelsen 2018-03-04 11:49:42 -08:00
parent af7ad4f366
commit 918f62f97a
1 changed files with 1 additions and 6 deletions

View File

@ -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
<<watch-execution-context, Standard Watch Execution Context Parameters>>.