Skip to content

Commit 2cb3bcc

Browse files
authored
If we say the priority should be above 500 it should at least be 501 (#1458)
If we say the priority should be above 500 it should at least be 501 [Current Doc page](https://www.elastic.co/docs/manage-data/data-store/templates)
1 parent 9c5f8b8 commit 2cb3bcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manage-data/data-store/templates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ If you use {{fleet}} or {{agent}}, assign your index templates a priority lower
4545

4646
* To disable all built-in index and component templates, set [`stack.templates.enabled`](elasticsearch://reference/elasticsearch/configuration-reference/index-management-settings.md#stack-templates-enabled) to `false` using the [cluster update settings API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-settings). Note, however, that this is not recommended, see the [setting documentation](elasticsearch://reference/elasticsearch/configuration-reference/index-management-settings.md#stack-templates-enabled) for more information.
4747
* Use a non-overlapping index pattern.
48-
* Assign templates with an overlapping pattern a `priority` higher than `500`. For example, if you don’t use {{fleet}} or {{agent}} and want to create a template for the `logs-*` index pattern, assign your template a priority of `500`. This ensures your template is applied instead of the built-in template for `logs-*-*`.
48+
* Assign templates with an overlapping pattern a `priority` higher than `500`. For example, if you don’t use {{fleet}} or {{agent}} and want to create a template for the `logs-*` index pattern, assign your template a priority of `501`. This ensures your template is applied instead of the built-in template for `logs-*-*`.
4949
* To avoid naming collisions with built-in and Fleet-managed index templates, avoid using `@` as part of the name of your own index templates.
5050
* Beginning in {{stack}} version 9.1, {{fleet}} uses indices named `fleet-synced-integrations*` for a feature. Avoid using this name to avoid collisions with built-in indices.
5151

@@ -121,7 +121,7 @@ PUT _index_template/template_1
121121
"mydata": { }
122122
}
123123
},
124-
"priority": 500,
124+
"priority": 501,
125125
"composed_of": ["component_template1", "runtime_component_template"],
126126
"version": 3,
127127
"_meta": {

0 commit comments

Comments
 (0)