Skip to content

Commit

Permalink
Fix the logs stream index template example (#3242) (#3244)
Browse files Browse the repository at this point in the history
(cherry picked from commit bb232a5)

Co-authored-by: Mike Birnstiehl <[email protected]>
  • Loading branch information
mergify[bot] and mdbirnstiehl authored Sep 25, 2023
1 parent 0d869dc commit 43b03da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/en/observability/logs-stream.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ PUT _index_template/logs-example-default-template
"priority": 500,
"template": {
"settings": {
"index.default_pipeline":"logs-example"
"index.default_pipeline":"logs-example-default"
}
},
"composed_of": [
Expand All @@ -343,7 +343,7 @@ PUT _index_template/logs-example-default-template
"logs@custom",
"ecs@dynamic_templates"
],
"ignore_missing_component_templates": ["logs@custom"],
"ignore_missing_component_templates": ["logs@custom"]
}
----

Expand Down Expand Up @@ -371,7 +371,7 @@ The component templates that are set in the previous index template are defined
[[logs-stream-create-data-stream]]
=== Create your data stream

Create your data stream using the {fleet-guide}/data-streams.html#data-streams-naming-scheme[data stream naming scheme]. Since The name needs to match the name of your pipeline, name the data stream `logs-example-default`. Post the example log to your data stream with this command:
Create your data stream using the {fleet-guide}/data-streams.html#data-streams-naming-scheme[data stream naming scheme]. Since the name needs to match the name of your pipeline, name the data stream `logs-example-default`. Post the example log to your data stream with this command:

[source,console]
----
Expand Down

0 comments on commit 43b03da

Please sign in to comment.