How to create aliases in index Template for last 7 days?


How can i able to create aliases in a index Template in such a way it will create alias for last 7 days indices.

IS there any way to do that? Because my data comes every day ln a index like


You can't remove an alias from an index with a template, but you can add one.
To remove them, look at Elasticsearch Curator -

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.