Skip to content

Commit 79b69dd

Browse files
authored
[DOCS] Add ECS and runtime fields tip to data stream tutorial (#71183) (#71200)
1 parent f2e3335 commit 79b69dd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/reference/data-streams/set-up-a-data-stream.asciidoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,18 @@ with default options.
9898

9999
* Your lifecycle policy in the `index.lifecycle.name` index setting.
100100

101+
[TIP]
102+
====
103+
Use the {ecs-ref}[Elastic Common Schema (ECS)] when mapping your fields. ECS
104+
fields integrate with several {stack} features by default.
105+
106+
If you're unsure how to map your fields, use <<runtime-search-request,runtime
107+
fields>> to extract fields from <<mapping-unstructured-content,unstructured
108+
content>> at search time. For example, you can index a log message to a
109+
`wildcard` field and later extract IP addresses and other data from this field
110+
during a search.
111+
====
112+
101113
To create a component template in {kib}, open the main menu and go to *Stack
102114
Management > Index Management*. In the *Index Templates* view, click *Create a
103115
component template*.

0 commit comments

Comments
 (0)