How to delete records of unassigned shards?

Hello All,

My Elasticsearch cluster had a wobble. It's now back and all is well, except for having a bunch of shards being reported unassigned, those are indices that do not exist I believe.

The cluster health is red as a result.

How can they be deleted?

Thanks a lot in advance,

Example:
curl -s -XGET http://localhost:9200/_cat/shards | fgrep UNASSIGNED

logstash-xxx-2016.04.22 2 p UNASSIGNED
logstash-xxx-2016.04.22 2 r UNASSIGNED
logstash-xxx-2016.04.22 0 p UNASSIGNED

You can delete the index but obviously you'll loose the data in it.