From f391bad791e870febe78c6c107e260f7cef68aea Mon Sep 17 00:00:00 2001 From: Daisuke Harada <1519063+dharada@users.noreply.github.com> Date: Fri, 10 Dec 2021 07:06:59 +0900 Subject: [PATCH] [DOCS] Clarify when `index` parameter is required for Watcher index action (#81566) 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 --- x-pack/docs/en/watcher/actions/index.asciidoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/docs/en/watcher/actions/index.asciidoc b/x-pack/docs/en/watcher/actions/index.asciidoc index da6fd9e7f837b..a0244778127d7 100644 --- a/x-pack/docs/en/watcher/actions/index.asciidoc +++ b/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 +<>. | `doc_id` | no | - | The optional `_id` of the document.