Browse Source

[DOCS] Clarify when `index` parameter is required for Watcher index action (#81566) (#81608)

If you dynamically add an `_index` value, the `index` parameter is not required for the Watcher index action.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
# Conflicts:
#	x-pack/docs/en/watcher/actions/index.asciidoc

Co-authored-by: Daisuke Harada <1519063+dharada@users.noreply.github.com>
James Rodewig 3 years ago
parent
commit
68836bbdf7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      x-pack/docs/en/watcher/actions/index.asciidoc

+ 3 - 1
x-pack/docs/en/watcher/actions/index.asciidoc

@@ -40,8 +40,10 @@ The following snippet shows a simple `index` action definition:
 |======
 |Name                     |Required    | Default    | Description
 
-| `index`                 | yes        | -          | The index, alias, or data stream to index into.
+| `index`                 | yes^*^     | -         a| The index, alias, or data stream to index into.
 
+^*^If you dynamically set an `_index` value, this parameter isn't required. See
+<<anatomy-actions-index-multi-doc-support>>.
 
 | `doc_id`                | no         | -          | The optional `_id` of the document.