|
@@ -189,11 +189,13 @@ PUT _index_template/my-index-template
|
|
|
[[create-data-stream]]
|
|
|
=== Step 4. Create the data stream
|
|
|
|
|
|
-To automatically create the data stream, submit an
|
|
|
-<<add-documents-to-a-data-stream,indexing request>> that targets the stream's
|
|
|
-name. This name must match one of your index template's index patterns. The
|
|
|
-request must use an `op_type` of `create`. Documents must include a `@timestamp`
|
|
|
-field.
|
|
|
+<<add-documents-to-a-data-stream,Indexing requests>> add documents to a data
|
|
|
+stream. These requests must use an `op_type` of `create`. Documents must include
|
|
|
+a `@timestamp` field.
|
|
|
+
|
|
|
+To automatically create your data stream, submit an indexing request that
|
|
|
+targets the stream's name. This name must match one of your index template's
|
|
|
+index patterns.
|
|
|
|
|
|
[source,console]
|
|
|
----
|