Hi,
I want to create an index with name xyz-yyyy-MM. Index Name should be like : xyz-2020-01 xyz-2020-04 xyz-2020-12 xyz-2021-05
I want to add these index into one in this pattern "xyz" with "*" Will it be possible to make an alias index with xyz without star? Kindly Help.
Regards, Tahseen
Try this to create an alias xyz and then add an index pattern based on this alias
xyz
POST /_aliases { "actions" : [ { "add" : { "index" : "xyz-*", "alias" : "xyz" } } ] }
Hi @ylasri,
It worked.
Thanks, Tahseen
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.