Skip to content

Commit 0c49dc7

Browse files
(Bug) Modify Index Template to LogsDB (elastic#962)
👋 howdy, team! ( cc: @asmith-elastic @anniegale9538 for Sev1 01849100 ) The existing docs for Creating LogsDB ([v8](https://www.elastic.co/guide/en/elasticsearch/reference/current/logs-data-stream.html#how-to-use-logsds), [v9](https://docs-v3-preview.elastic.dev/elastic/docs-content/tree/main/manage-data/data-store/data-streams/logs-data-stream); believed ported via elastic/elasticsearch#118303) has users create an index template overriding previous which negates all Fleet-managed Integration index pipelines which breaks ingestion patterns across all `logs-*` 👻. This adds in a warning header that for Fleet-managed integrations (which AFAIK is the only major exception) users should instead be adding the recommended setting [into the component template per existing doc](https://www.elastic.co/guide/en/observability/current/logs-index-template.html#custom-logs-template-edit). TIA! --------- Co-authored-by: shainaraskas <[email protected]>
1 parent ba13c8a commit 0c49dc7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

manage-data/data-store/data-streams/logs-data-stream.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ In benchmarks, log data stored in a logs data stream used ~2.5 times less disk s
2020

2121
## Create a logs data stream [how-to-use-logsds]
2222

23+
::::{important}
24+
Fleet integrations use [index templates](../templates.md) managed by Elastic. To modify these backing templates, update their [composite `custom` templates](/solutions/observability/logs/logs-index-template-reference.md##custom-logs-template-edit).
25+
::::
26+
2327
To create a logs data stream, set your [template](../templates.md) `index.mode` to `logsdb`:
2428

2529
```console
2630
PUT _index_template/my-index-template
2731
{
28-
"index_patterns": ["logs-*"],
32+
"index_patterns": ["my-datastream-*"],
2933
"data_stream": { },
3034
"template": {
3135
"settings": {

0 commit comments

Comments
 (0)