Is it possible to store 30 days logs in filesystem and older than 30 days logs in azure blob?

Is it possible to store 30days of logs in filesystem and older than 30 days of logs should store in azure blob storage?Is there any configuration in loki can anyone please suggest?