Automatically expand replica numbers for Kibana index
The patch uses 'auto_expand_replicas' setting to automatically expand the number of replicas based on the number of nodes in the cluster. This setting ensures HA for Kibana dashboards (if enough nodes are deployed). Because dashboards are only few kilobytes they are duplicated on all nodes available by specifying the range '0-all'. Fixes-bug: #1536689 DocImpact Change-Id: I2643a9e7a18091201ee205149a7316d00acb00ca
This commit is contained in:
parent
2246dfe3c0
commit
88e88927f3
@ -1,7 +1,7 @@
|
||||
{
|
||||
"settings": {
|
||||
"number_of_shards": <%= @number_of_shards %>,
|
||||
"number_of_replicas": <%= @number_of_replicas %>
|
||||
"auto_expand_replicas": "0-all"
|
||||
},
|
||||
"template": "<%= @index_prefix %>-*"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user