# Remove 7.x indices after upgrade to 8.x

**URL:** <https://discuss.elastic.co/t/remove-7-x-indices-after-upgrade-to-8-x/341000>\
**Category:** Elasticsearch\
**Created:** [August 17, 2023, 10:57am UTC](https://discuss.elastic.co/t/remove-7-x-indices-after-upgrade-to-8-x/341000 "2023-08-17T10:57:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 28, 2023, 3:02pm UTC](https://discuss.elastic.co/t/remove-7-x-indices-after-upgrade-to-8-x/341000/4 "2023-08-28T15:02:25Z")

</div>

I believe you can start by removing everything which is like `*-7.*.*-*` but please check what are those indices first.  
I don't have a better answer yet.

Indices which don't have an exact version number in it should be kept as is IMO.

---

_[View the full topic](https://discuss.elastic.co/t/remove-7-x-indices-after-upgrade-to-8-x/341000)._
