[DOCS] Enables testing for monitoring examples (#31119)
This commit is contained in:
parent
b4514d3cc1
commit
68827fc046
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue