will not automatically update to include new indices that match.
If I'm using ILM or time based indices (filebeat, metricbeat) would I need to re-add this alias every time a new index is created, or is there a feature of ILM that would do this on my behalf? Right now I'm thinking the only way to do this would be a cronjob to update the alias on a schedule, or query for new indices and update when a new one is found.
If you are talking about rollover within an ILM policy, then the rollover action will update the alias automatically, you don't need to do that yourself.
To clarify, will it also update additional read only aliases, or just the write index ("is_write_index": true)?
For example, if I create the index like so, I'd want metrics-teamA and metrics-teamB to stay up to date when the index is eventually rolled to metrics-6.7.1-000002.
For those reading this later on, if you include aliases on the index template, then they will be applied to future rollover indices as well as any indices created with the ilm shrink operation.
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.