# Cannot find write index

**URL:** <https://discuss.elastic.co/t/cannot-find-write-index/334683>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [May 30, 2023, 12:33pm UTC](https://discuss.elastic.co/t/cannot-find-write-index/334683 "2023-05-30T12:33:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 30, 2023, 12:54pm UTC](https://discuss.elastic.co/t/cannot-find-write-index/334683/2 "2023-05-30T12:54:52Z")

</div>

Welcome!

Please [read this](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) about how to format.

You need to use [the update settings API](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html) and not the create index if your index already exists I guess.

```auto
PUT /cedar-00001/_settings
{
  "aliases" : {
    "cedar_log" : {
      "is_write_index": true
    }
  }
}

```

But I don't know if this is what you really want to do...

---

_[View the full topic](https://discuss.elastic.co/t/cannot-find-write-index/334683)._
