Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/reference/monitoring/indices.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ GET /_template/.monitoring-*
By default, the template configures one shard and one replica for the
monitoring indices. To override the default settings, add your own template:

. Set the `template` pattern to `.monitoring-*`.
. Set the `template` patterns to match existing `.monitoring-{product}-7-*` indices.
. Set the template `order` to `1`. This ensures your template is
applied after the default template, which has an order of 0.
. Specify the `number_of_shards` and/or `number_of_replicas` in the `settings`
Expand All @@ -28,7 +28,7 @@ and the number of replicas to two.
----------------------------------
PUT /_template/custom_monitoring
{
"index_patterns": ".monitoring-*",
"index_patterns": [".monitoring-beats-7-*", ".monitoring-es-7-*", ".monitoring-kibana-7-*", ".monitoring-logstash-7-*"],
"order": 1,
"settings": {
"number_of_shards": 5,
Expand Down
Loading