Can't delete indices (not using wildcards)


#1

Recently a colleague created two indices but by a mistype in the CLI he ended up creating two indices with the AWS url.

So both are in the following format:

search-somerandompartternhere-eu-central-666.es.amazonaws.com:443

I've been trying since to delete then, I tried with a js client, curl and kibana so far. With wildcard and specifying both directly in the request. But even though I receive an acknowledge: true, everytime I list the indices they are there.

I can't see it as less than a bug, I went ahead and created an index with the same names in my local instance and could delete normally after. I don't know what to do anymore...


(Christian Dahlqvist) #2

If it works on your local instance, it seems likely there may be some custom check that Amazon have added to their distribution preventing this. I would recommend you contact AWS support about this.


#3

I found out a cron job in the background was creating the indices with the wrong name. Nothing to do with AWS specifically or an Elasticsearch bug