From eeddacf1548c63415aaed6022d607571e2285421 Mon Sep 17 00:00:00 2001 From: DeDe Morton Date: Tue, 10 Mar 2020 12:45:50 -0700 Subject: [PATCH] [docs] Clarify how ILM affects template setup options (#16704) (#16910) Co-authored-by: chrousto Co-authored-by: chrousto --- libbeat/docs/shared-ilm.asciidoc | 4 +++- libbeat/docs/shared-template-load.asciidoc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libbeat/docs/shared-ilm.asciidoc b/libbeat/docs/shared-ilm.asciidoc index 4ed4cba0e2a3..1336ee86b0ab 100644 --- a/libbeat/docs/shared-ilm.asciidoc +++ b/libbeat/docs/shared-ilm.asciidoc @@ -3,7 +3,7 @@ == Configure index lifecycle management Use the {ref}/getting-started-index-lifecycle-management.html[index lifecycle -management] feature in {es} to manage your {beatname_uc} indices as they age. +management] (ILM) feature in {es} to manage your {beatname_uc} indices as they age. For example, instead of creating daily indices where index size can vary based on the number of Beats and number of events sent, use an index lifecycle policy to automate a rollover to a new index when the existing index reaches a @@ -30,6 +30,8 @@ setup.ilm.pattern: "{now/d}-000001" <1> {ref}/indices-rollover-index.html#_using_date_math_with_the_rollover_api[Using date math with the rollover API]. +WARNING: If <> is enabled (which is typically the default), `setup.template.name` and `setup.template.pattern` are ignored. + [float] === Configuration options diff --git a/libbeat/docs/shared-template-load.asciidoc b/libbeat/docs/shared-template-load.asciidoc index 51ab193697a3..07d0010672fd 100644 --- a/libbeat/docs/shared-template-load.asciidoc +++ b/libbeat/docs/shared-template-load.asciidoc @@ -85,6 +85,8 @@ output.elasticsearch.index: "customname-%{[{beat_version_key}]}-%{+yyyy.MM.dd}" setup.template.name: "customname" setup.template.pattern: "customname-*" ----- +WARNING: If <> is enabled (which is typically the default), `setup.template.name` and `setup.template.pattern` are ignored. + ifndef::no_dashboards[] + If you're using pre-built Kibana dashboards, also set the