Delete weird index names

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

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