Is it possible to connect Grafana Cloud loki (grafanacloud-{{name}}-logs) to an existing S3 bucket?

I am trying to compare the performance of my self-hosted stack and grafana cloud and in order to compare the performance I need to test queries that access historical data (more than 90 days) and see how much time it takes to execute.

I have logs collected from my self-hosted stack stored in an S3 bucket and I want to query those logs using Grafana Cloud’s default Loki logs datasource (that’s called grafanacloud-{{name}}-logs).

I tried using “Cloud logs exporter” hoping that it would enable Loki to access the logs that already exist in the S3 bucket that I configured with cloud logs exporter but it doesn’t seem to work.

Any idea if what I am trying to do is possible or not? Can I access and modify Loki’s configuration on Grafana Cloud? Do you have any alternative ideas? Thanks!

Grafana Cloud is SaaS, so I don’t believe you have this kind of access.
Of course you can still ask your Grafana support. I can imagine that they may prepare POC if you are huge enterprise customer.

1 Like