Offline logs to Loki, how?

Hi there!

I manage numerous appliances that keep local logs, these appliances are installed all over the world and shipping all the logs to a central place isn’t an option at the moment…

I have an application that can have an appliance send all its logs to a central place for offline analysis and I would like to put all of these into Loki so I can combine it with some metrics I collect from them.

So far, I haven’t found a way to do this, it seems promtail is meant to ship logs as they are generated instead of just ingesting logs that are already there. On top of that, the logs are shipped to a central place that has nothing to do with the appliance.

I would like to put all the logs into Loki and identify by serialnumber of the appliance, is it possible to do this?