Skip to content

Commit c0c5720

Browse files
jrodewigdharada
andauthored
[DOCS] Clarify when index parameter is required for Watcher index action (#81566) (#81610)
If you dynamically add an `_index` value, the `index` parameter is not required for the Watcher index action. Co-authored-by: James Rodewig <[email protected]> # Conflicts: # x-pack/docs/en/watcher/actions/index.asciidoc Co-authored-by: Daisuke Harada <[email protected]>
1 parent 1674ce8 commit c0c5720

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

x-pack/docs/en/watcher/actions/index.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ The following snippet shows a simple `index` action definition:
4040
|======
4141
|Name |Required | Default | Description
4242

43-
| `index` | yes | - | The index, alias, or data stream to index into.
43+
| `index` | yes^*^ | - a| The index, alias, or data stream to index into.
4444

45+
^*^If you dynamically set an `_index` value, this parameter isn't required. See
46+
<<anatomy-actions-index-multi-doc-support>>.
4547

4648
| `doc_id` | no | - | The optional `_id` of the document.
4749

0 commit comments

Comments
 (0)