Create index cwl-* (timestamp) logs lambda

I’m trying to create an index for consumption in kibana from the logs of my lambdas coming from cloudwatch. In my research I only found the methods to perform the stream, what I need is a pattern (example), to create the index. I found information on how to stream, I need to create the index in cwl-* (timestamp) format, lambdas log groups have already been created in cloudwatch. Can anyone help me?