# Can i create aliases with month and year in index templates?

**URL:** <https://discuss.elastic.co/t/can-i-create-aliases-with-month-and-year-in-index-templates/81089>\
**Category:** Elasticsearch\
**Created:** [April 4, 2017, 7:18am UTC](https://discuss.elastic.co/t/can-i-create-aliases-with-month-and-year-in-index-templates/81089 "2017-04-04T07:18:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 4, 2017, 8:02am UTC](https://discuss.elastic.co/t/can-i-create-aliases-with-month-and-year-in-index-templates/81089/2 "2017-04-04T08:02:10Z")

</div>

My original answer here hasn't changed. Also, please don't post the same thing multiple times.

> [@Is it possible to create aliases on a monthly basis using index templates?](https://discuss.elastic.co/t/is-it-possible-to-create-aliases-on-a-monthly-basis-using-index-templates/80850/4):
>
> ES handles more static aliases, like last-month, it can't do date math in templates. Have you tried curator?

---

_[View the full topic](https://discuss.elastic.co/t/can-i-create-aliases-with-month-and-year-in-index-templates/81089)._
