Skip to content

Commit

Permalink
[DOCS] Clarify when index parameter is required for Watcher index a…
Browse files Browse the repository at this point in the history
…ction (#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 <[email protected]>
# Conflicts:
#	x-pack/docs/en/watcher/actions/index.asciidoc

Co-authored-by: Daisuke Harada <[email protected]>
  • Loading branch information
jrodewig and dharada authored Dec 9, 2021
1 parent 6756ed2 commit 68836bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/docs/en/watcher/actions/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 68836bb

Please sign in to comment.