Setting different ilm policy based on index name

I still get

"type" : "illegal_argument_exception",
        "reason" : "index.lifecycle.rollover_alias [filebeat-cisco] does not point to index [filebeat-cisco-2020.05.27]"

but i think adding -000001 to index will resolve the issue