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:
parent
af7ad4f366
commit
918f62f97a
|
@ -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>>.
|
||||
|
|
Loading…
Reference in New Issue