# Auto aliases?

**URL:** <https://discuss.elastic.co/t/auto-aliases/14923>\
**Category:** Elasticsearch\
**Created:** [December 18, 2013, 12:39am UTC](https://discuss.elastic.co/t/auto-aliases/14923 "2013-12-18T00:39:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_Harrison](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@Josh\_Harrison](https://discuss.elastic.co/u/Josh_Harrison)\
**Post date:** [December 18, 2013, 12:39am UTC](https://discuss.elastic.co/t/auto-aliases/14923/1 "2013-12-18T00:39:25Z")

</div>

So I know how to set up default mappings. Is it possible to set up default  
aliases for indexes with a certain name format?  
I'm pulling in data on a weekly bases, so say I've got 2013\_41, and all my  
filtered aliases (based on the contents of the document) set up. When  
2013\_42 comes along, do I need to manually create the aliases? Or is there  
a better way?  
Thanks!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d4e0da5d-3878-4d76-9710-fc51898a7107%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d4e0da5d-3878-4d76-9710-fc51898a7107%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 18, 2013, 9:08am UTC](https://discuss.elastic.co/t/auto-aliases/14923/2 "2013-12-18T09:08:09Z")

</div>

Hey,

no, you need to this manually at the moment - in a small cronjob based  
shell script most likely.

--Alex

On Wed, Dec 18, 2013 at 1:39 AM, Josh Harrison [hijakk@gmail.com](mailto:hijakk@gmail.com) wrote:

> So I know how to set up default mappings. Is it possible to set up default  
> aliases for indexes with a certain name format?  
> I'm pulling in data on a weekly bases, so say I've got 2013\_41, and all my  
> filtered aliases (based on the contents of the document) set up. When  
> 2013\_42 comes along, do I need to manually create the aliases? Or is there  
> a better way?  
> Thanks!
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/d4e0da5d-3878-4d76-9710-fc51898a7107%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d4e0da5d-3878-4d76-9710-fc51898a7107%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9ZZatcwnazogccLKB8C\_Wd%2B%2B0oaFUu0Axia3PEU9aySA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9ZZatcwnazogccLKB8C_Wd%2B%2B0oaFUu0Axia3PEU9aySA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:00am UTC](https://discuss.elastic.co/t/auto-aliases/14923/3 "2017-07-06T02:00:27Z")

</div>


