i set this in my filebeat.yml file and the index was created as per expected
setup.ilm.pattern: '{now/m{yyyy.MM.dd.mm}}-000001'
but i was expecting that new index will be created every minute but it didn't. The initial index is utilized. I know creating new index every minute this may sound insane to you but this is for just testing purposes.