we have an index named drivers-history, by default this index doesn't have an alias so i created one as drivers_history using update index alias api. later i created an ILM policy and attached it to this index but i am getting the following error during ILM execution index name [drivers-history] does not match pattern.
i read the below documentation from elastic search and it suggested that if my index name doesn't match the required pattern i can specify a name for new index.
but i am not using rollover index API to rollover my index, i am using an ILM policy to do so. how to fix this error please help