curl -XPUT '127.0.0.1:9200/_template/template_elastiflow?pretty' -d '
{
"order": 1,
"template": "elastiflow*",
"settings":{
"index":{
"number_of_shards":1,
"number_of_replicas":0,
"refresh_interval" : "30s",
"translog.durability": "async",
"routing.allocation.total_shards_per_node": 1
}
}
}'
网友评论