From 4cea351eafff9af4475ea47de7b73c764bacf2ff Mon Sep 17 00:00:00 2001 From: Tim <50997599+TimBosman@users.noreply.github.com> Date: Thu, 22 May 2025 14:10:38 +0200 Subject: [PATCH] Update templates.md If we say the priority should be above 500 it should at least be 501 --- manage-data/data-store/templates.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manage-data/data-store/templates.md b/manage-data/data-store/templates.md index 536f991a94..fba3657786 100644 --- a/manage-data/data-store/templates.md +++ b/manage-data/data-store/templates.md @@ -45,7 +45,7 @@ If you use {{fleet}} or {{agent}}, assign your index templates a priority lower * 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. * Use a non-overlapping index pattern. -* 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-*-*`. +* 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-*-*`. * To avoid naming collisions with built-in and Fleet-managed index templates, avoid using `@` as part of the name of your own index templates. * 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. @@ -121,7 +121,7 @@ PUT _index_template/template_1 "mydata": { } } }, - "priority": 500, + "priority": 501, "composed_of": ["component_template1", "runtime_component_template"], "version": 3, "_meta": {