Auto aliases?


(Josh Harrison) #1

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.
To view this discussion on the web visit 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.


(Alexander Reelsen) #2

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 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.
To view this discussion on the web visit
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.

--
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.
To view this discussion on the web visit 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.


(system) #3