# Delete weird index names

**URL:** <https://discuss.elastic.co/t/delete-weird-index-names/190378>\
**Category:** Elasticsearch\
**Created:** [July 14, 2019, 10:15am UTC](https://discuss.elastic.co/t/delete-weird-index-names/190378 "2019-07-14T10:15:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahere37](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Post date:** [July 14, 2019, 10:15am UTC](https://discuss.elastic.co/t/delete-weird-index-names/190378/1 "2019-07-14T10:15:02Z")

</div>

hi all,  
logstash is creating index name based on the value of a filed. today, this field get some weird value. how can i delete weird index name such as followings:  
1-  
disp-\_1‌´èn´

2-  
dispatcher-ib\_packets\_1~^0ƒيخڑ¸zں)

so many of such indices created and increase the number of shards. when i want to delete using following api give me error:

```
DELETE dispatcher-ib_packets_1~^0ƒيخڑ¸zں)

{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "An internal server error occurred"
}

```

is there any way to delete this indices using its uuid?  
any advise will be so appreciated

---

<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:** [August 11, 2019, 10:15am UTC](https://discuss.elastic.co/t/delete-weird-index-names/190378/2 "2019-08-11T10:15:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
