You are right, you cannot setup dynamic alias for ILM.
One option if you want to load ilm through filebeat - create static alias name by indexing all modules data into single index and add the dynamic value as an additional field (eg: fileset.module) in the index document, then you can apply the filter on the consumption side.
Otherwise, you can load the ilm policies and templates through Elastic API externally.
For loading externally you can follow the below approach
If you have a limited set of values for "fileset.module" values, then create a separate template for each one with separate alias
Then in your filebeat conf.. index: "filebeat-7.1.1-%{[fileset.module]}"
Note: As I said assuming you setup templates/ilm policies for all combinations of "fileset.module" values.
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.