Index Alias pointing to last time-based Index

Hello!

Is there any way to create an alias that points to the last metricbeat index? I'm using names like "metricbeat-rollup-6.5.4-2019.07" and i would like to make the alias pointing to "metricbeat-6.5.4-{current-year}.{current-month}.{current-day}"

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.