Fetching logs from S3 as a feed to Loki

I am in the process of fetching logs stored in S3 buckets and move them to Loki , i did see that promtail does not have an option to do this , has anyone tries something similar to this ?

Thanks

Hi @shsatish, thanks for the question.

You could try mounting your S3 bucket as a virtual filesystem using GitHub - s3fs-fuse/s3fs-fuse: FUSE-based file system backed by Amazon S3, and then using Promtail as normal because the objects will be exposed as files.

Disclaimer: I have not tried this myself.