# Correct understanding of "aliases" in elasticsearch

**URL:** <https://discuss.elastic.co/t/correct-understanding-of-aliases-in-elasticsearch/318126>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [November 3, 2022, 4:50pm UTC](https://discuss.elastic.co/t/correct-understanding-of-aliases-in-elasticsearch/318126 "2022-11-03T16:50:48Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [November 6, 2022, 5:27pm UTC](https://discuss.elastic.co/t/correct-understanding-of-aliases-in-elasticsearch/318126/5 "2022-11-06T17:27:07Z")

</div>

Closed as duplicate of

> [@ILM elasticsearch not working](https://discuss.elastic.co/t/ilm-elasticsearch-not-working/318263):
>
> Such a question, I read the manual and I seem to have done everything right, but I still get an error for indices, I use the wazuh template and add the following to it: { "order": 0, "index\_patterns": ["wazuh-alerts-4.x-\*", "wazuh-archives-4.x-\*"], "settings": { "index.refresh\_interval": "5s", "index.number\_of\_shards": "3", "index.number\_of\_replicas": "0", "index.auto\_expand\_replicas": "0-1", "index.lifecycle.name": "wazuh\_ilm", "index.lifecycle.rollove…

---

_[View the full topic](https://discuss.elastic.co/t/correct-understanding-of-aliases-in-elasticsearch/318126)._
