# Remove accidental tag?

**URL:** <https://discuss.elastic.co/t/remove-accidental-tag/26448>\
**Category:** Elasticsearch\
**Created:** [July 28, 2015, 9:23pm UTC](https://discuss.elastic.co/t/remove-accidental-tag/26448 "2015-07-28T21:23:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![allenmchan](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@allenmchan](https://discuss.elastic.co/u/allenmchan)\
**Post date:** [July 28, 2015, 9:23pm UTC](https://discuss.elastic.co/t/remove-accidental-tag/26448/1 "2015-07-28T21:23:56Z")

</div>

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"  
}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 28, 2015, 9:51pm UTC](https://discuss.elastic.co/t/remove-accidental-tag/26448/2 "2015-07-28T21:51:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![allenmchan](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@allenmchan](https://discuss.elastic.co/u/allenmchan)\
**Post date:** [July 28, 2015, 10:04pm UTC](https://discuss.elastic.co/t/remove-accidental-tag/26448/3 "2015-07-28T22:04:51Z")

</div>

Perfect. This resolved it

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:58pm UTC](https://discuss.elastic.co/t/remove-accidental-tag/26448/4 "2017-07-05T23:58:31Z")

</div>


