Index has no aliases

Hi, i have define the index rollup alias on metricbeat config, but if i add index to policy always show this error on kibana

"Index has no aliases
Policy test is configured for rollover, but index index-test does not have an alias, which is required for rollover."

Are you talking about ILM?

Can you share the commands you are trying to run?