Create index pattern automatically

Hi there,

Please see Create Indices pattern through commnadline (similar question). Does this help you?

Thanks,
CJ