curl -XPOST
'localhost:9200/_cluster/reroute'
-d '{
"commands"
: [ {
"allocate"
: {
"index"
:
"logstash-ksmobile-2015.05"
,
"shard"
: 0,
"node"
:
"0G0Gu4NNTTOtOi0LH_hdfg"
,
"allow_primary"
:
true
}
}
]
}'