Connecting Loki to BigQuery

We currently use Google BigQuery to store our production logs. I was wondering if it’s possible to connect Loki directly to Google BigQuery to browse and visualize logs?

Hey @afshinmeh

At this time we support BigTable from Google but not BigQuery.

Thanks @dannykopping. And I guess even with BigTable the data must be imported into Loki (or any supported DB by Loki) before it can be used via the UI, is that correct?

It’s the other way around - Loki will ingest the logs and write its indexes to BigTable, but you’ll need to use an object store for the actual logs (stored as chunks).

Take a look at our Architecture docs for more information :+1:


1 Like