Best practice for ingesting old log files

I’m curious to know if anyone is familiar with the best approach to ingest a number of old log files into Loki/Promtail?

My challenge is that the logs directory contains log files that cover a few months, with each log file rotating every hour, the file names look like this:


I have Promtail configured to look for anything that matches PROD* in the path, and that works great if there’s a single log file in the directory. However, when a number of log files are present for the batch ingest, anything ingested that is chronologically older than the first ingested file is ignored since the timestamp is out of order.

Is there a way I can control the order in which log files are ingested?