Skip to content

Commit 8ca44cd

Browse files
committed
Fix typo and formatting that caused Github preview to use highlight the text as an error in the preview
1 parent 3a2c055 commit 8ca44cd

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

reference/fleet/data-streams-scenario3.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ metrics-system.network-production@custom
5656
3. Use the template above to set the name—in this case, `metrics-system.network-production@custom`. Click **Next**.
5757
4. Under **Index settings**, set the {{ilm-init}} policy name under the `lifecycle.name` key:
5858

59-
```json
60-
{
61-
"lifecycle": {
62-
"name": "90-days-default"
63-
}
64-
}
65-
```
59+
```json
60+
{
61+
"lifecycle": {
62+
"name": "90-days-default"
63+
}
64+
}
65+
```
6666

6767
5. Continue to **Review** and ensure your request looks similar to the image below. If it does, click **Create component template**.
6868

@@ -78,10 +78,9 @@ metrics-system.network-production@custom
7878
Now that you’ve created a component template, you need to create an index template to apply the changes to the correct data stream. The easiest way to do this is to duplicate and modify the integration’s existing index template.
7979

8080
::::{warning}
81-
- If you duplicate an index template, do not change or remove any managed properties. This may result in problems when upgrading. Cloning the index template of an integration package involves some risk as any changes made to the original index template are not propagated to the cloned version when you upgrade versions.
82-
- These steps assume that you want to have a namespace specific ILM policy, which requires index template cloning. Cloning the index template of an integration package involves some risk because any changes made to the original index template as part of package upgrades are not propagated to the cloned version. Check out [Cloning the index template of an integration package](/reference/fleet/integrations-assets-best-practices.md#assets-restrictions-cloning-index-template) for details.
83-
84-
+ If you want to change the ILM Policy, the number of shards, or other settings for the datastreams of one or more integrations, but **the changes do not need to be specific to a given namespace**, use a `@custom` component template, as described in [Scenario 1](/reference/fleet/data-streams-scenario1.md) and [Scenario 2](/reference/fleet/data-streams-scenario2.md), to avoid the problems mentioned earlier. Check out the [ILM](/reference/fleet/data-streams.md#data-streams-ilm) section for details.
81+
* If you duplicate an index template, do not change or remove any managed properties. This may result in problems when upgrading. Cloning the index template of an integration package involves some risk as any changes made to the original index template are not propagated to the cloned version when you upgrade versions.
82+
* These steps assume that you want to have a namespace specific ILM policy, which requires index template cloning. Cloning the index template of an integration package involves some risk because any changes made to the original index template as part of package upgrades are not propagated to the cloned version. Check out [Cloning the index template of an integration package](/reference/fleet/integrations-assets-best-practices.md#assets-restrictions-cloning-index-template) for details.
83+
* If you want to change the ILM policy, the number of shards, or other settings for the data streams of one or more integrations, but **the changes do not need to be specific to a given namespace**, use a `@custom` component template, as described in [Scenario 1](/reference/fleet/data-streams-scenario1.md) and [Scenario 2](/reference/fleet/data-streams-scenario2.md), to avoid the problems mentioned earlier. Check out the [ILM](/reference/fleet/data-streams.md#data-streams-ilm) section for details.
8584

8685
::::
8786

0 commit comments

Comments
 (0)