I'm assuming your creating those indices via some naming pattern? You should be able to use the same pattern (as part of a *_{dataMathExpression} pattern) in the "indices" parameter.
I think the documentation on data naming patterns and multi index syntax should be helpful to you here.
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.