[DOCS] Enables testing for monitoring examples (#31119)

This commit is contained in:
Lisa Cawley 2018-06-06 13:25:36 -07:00 committed by GitHub
parent b4514d3cc1
commit 68827fc046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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',

View File

@ -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