Remove accidental tag?

(Allen Chan) #1

I accidently fat fingered a curator command and updated the indices with the wrong tag. "tag": "hdd"
Is there a way i can manually remove this from the index?

"logstash-2015.06.24": {
"settings": {
"index": {
"routing": {
"allocation": {
"total_shards_per_node": "2",
"require": {
"disk_type": "hdd",
"tag": "hdd"

(Mark Walkom) #2

Just set the tag as an empty value, that should do it :slight_smile:

(Allen Chan) #3

Perfect. This resolved it

curl -XPUT localhost:9200/logstash-2015.07.02/_settings -d '{ "index.routing.allocation.require.tag" : ""}'

(system) #4