Plain text backup to S3

Hello! :wave:

I’m looking for a way to backup some of my logs to an object storage (S3), in a plain text format.

I imagined all my logs reaching Loki to be forwarded to something else (a file, a Logstash…) that would do the specific job.

Another option would be to have a daily job that queries Loki for all logs of the day for some specific tags. It has to work around the 1000 logs limit.

One way or another, I don’t know

  • if it’s feasible today
  • if it’d be a good candidate for a future Loki feature (forwarding logs to another component)
  • if it would be robust enough

What do you think of it? I’m all ears for different thoughts! :grin: