From cb290c6b616a59b230014d2547b647c7c1f2ea19 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 20 May 2021 15:57:22 -0400 Subject: [PATCH] [DOCS] Fix data stream ref in index template docs (#73292) (#73294) Updates an outdated reference to empty `data_stream` objects. The create index template API's `data_stream` parameter now supports the `hidden` property. --- docs/reference/indices/put-index-template.asciidoc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/reference/indices/put-index-template.asciidoc b/docs/reference/indices/put-index-template.asciidoc index a03e530f0d34d..db64d5e65a167 100644 --- a/docs/reference/indices/put-index-template.asciidoc +++ b/docs/reference/indices/put-index-template.asciidoc @@ -95,7 +95,7 @@ specified, meaning that the last component template specified has the highest pr `data_stream`:: (Optional, object) If this object is included, the template is used to create data streams and -their backing indices. Supports an empty object: `data_stream: { }` +their backing indices. Supports an empty object. + Data streams require a matching index template with a `data_stream` object. See <>. @@ -293,10 +293,8 @@ To check the `_meta`, you can use the <>. +To use an index template for data streams, the template must include a +`data_stream` object. See <>. [source,console] --------------------------------------------------