From 68827fc0465abe1e365815fd344e900f593e5008 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Wed, 6 Jun 2018 13:25:36 -0700 Subject: [PATCH] [DOCS] Enables testing for monitoring examples (#31119) --- x-pack/docs/build.gradle | 1 - x-pack/docs/en/monitoring/indices.asciidoc | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/docs/build.gradle b/x-pack/docs/build.gradle index 3d799c8d0b5..a0af24d6cc6 100644 --- a/x-pack/docs/build.gradle +++ b/x-pack/docs/build.gradle @@ -17,7 +17,6 @@ buildRestTests.expectedUnconvertedCandidates = [ 'en/ml/functions/sum.asciidoc', 'en/ml/functions/time.asciidoc', 'en/ml/customurl.asciidoc', - 'en/monitoring/indices.asciidoc', 'en/rest-api/security/ssl.asciidoc', 'en/rest-api/security/users.asciidoc', 'en/rest-api/security/tokens.asciidoc', diff --git a/x-pack/docs/en/monitoring/indices.asciidoc b/x-pack/docs/en/monitoring/indices.asciidoc index 10d2c212de2..efa9836daa2 100644 --- a/x-pack/docs/en/monitoring/indices.asciidoc +++ b/x-pack/docs/en/monitoring/indices.asciidoc @@ -11,6 +11,8 @@ You can retrieve the templates through the `_template` API: ---------------------------------- GET /_template/.monitoring-* ---------------------------------- +// CONSOLE +// TEST[catch:missing] By default, the template configures one shard and one replica for the monitoring indices. To override the default settings, add your own template: @@ -36,6 +38,7 @@ PUT /_template/custom_monitoring } } ---------------------------------- +// CONSOLE IMPORTANT: Only set the `number_of_shards` and `number_of_replicas` in the settings section. Overriding other monitoring template settings could cause