---
title: "Supabase Logs: open source logging server"
description: "Supabase Logs is now available for self-hosted and CLI users, built on Logflare, a multi-node Elixir cluster that ingests over 1 billion log events daily into BigQuery and has been relicensed from BSL to Apache 2.0."
url: "https://swe.quest/articles/supabase-logs-open-source-logging-server-cdf37ea81ed0d920"
canonical: "https://supabase.com/blog/supabase-logs-self-hosted"
source: "Supabase"
published: "2023-04-10"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["observability","caching","elixir-erlang","open-source","analytics"]
---

# Supabase Logs: open source logging server

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2023-04-10, 6 min read, Announcement. Original: [https://supabase.com/blog/supabase-logs-self-hosted](https://supabase.com/blog/supabase-logs-self-hosted)

## Summary

Supabase Logs is now available for self-hosted and CLI users, built on Logflare, a multi-node Elixir cluster that ingests over 1 billion log events daily into BigQuery and has been relicensed from BSL to Apache 2.0. Logflare Endpoints turn parameterized SQL queries into HTTP APIs with read-through in-memory caching, proactive cache warming, SELECT-only parsing and CTE-based query sandboxing. A worked GitHub-webhook example shows how a 10-minute cache refreshed every 2 minutes caps BigQuery cost at five queries no matter how many requests arrive. Open-sourcing required replacing the closed General SQL Parser with sqlparser-rs and moving to env-var configuration; ClickHouse and Postgres backends plus a Management API are planned.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [Elixir & Erlang](https://swe.quest/tags/elixir-erlang.md) (Languages)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)

## Prerequisites

- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- log aggregation concepts

## Keywords

Supabase, Logflare, BigQuery, Logflare Endpoints, sqlparser-rs, Vector, ClickHouse

## Related posts

- [Clever ingests 200x more logs at the same cost with ClickHouse Cloud](https://swe.quest/articles/clever-ingests-200x-more-logs-at-the-same-cost-with-clickhouse-cloud-cafdd48afca59e57.md): ClickHouse · 2026-06-30 · Medium · 8 min read · Observability, Analytics & OLAP, Cost optimization, System design
  Clever replaced a split Datadog/Athena logging setup with ClickHouse Cloud.
- [Why OpenAI chose ClickHouse for petabyte-scale observability](https://swe.quest/articles/why-openai-chose-clickhouse-for-petabyte-scale-observability-dd57167d0fc8c4cb.md): ClickHouse · 2025-06-30 · Medium · 6 min read · Observability, Performance engineering, Analytics & OLAP, Scaling, Data structures
  OpenAI ingests petabytes of logs daily, growing over 20% monthly, into a ClickHouse cluster of 90 shards with two replicas each, fed by Fluent Bit agents.
- [Introducing Supabase Pipelines](https://swe.quest/articles/introducing-supabase-pipelines-65fc9ed15e862b06.md): Supabase · 2025-12-02 · Medium · 4 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Data pipelines, Replication
  Supabase Pipelines is a managed change-data-capture service that replicates Postgres tables to analytical destinations in near real time using logical replication, publications and replication slots, with an initial sync followed by batched ongoing changes.
- [The State of SQL-based Observability](https://swe.quest/articles/the-state-of-sql-based-observability-672099654427a9bd.md): ClickHouse · 2023-12-06 · Easy · 16 min read · Observability, Analytics & OLAP, Databases, Cost optimization
  Observability is increasingly treated as a SQL analytics problem, with OLAP column stores like ClickHouse replacing the NoSQL backends (Cassandra, Elasticsearch, Splunk) that dominated after Twitter's 2013 observability stack.
- [Didi Migrates from Elasticsearch to ClickHouse for a new Generation Log Storage System](https://swe.quest/articles/didi-migrates-from-elasticsearch-to-clickhouse-for-a-new-generation-log-storage-50fcb56512cab39a.md): ClickHouse · 2024-04-19 · Medium · 11 min read · Analytics & OLAP, Observability, Storage engines, Scaling, Cost optimization
  Didi replaced Elasticsearch with ClickHouse for petabyte-per-day log and trace storage, cutting machine cost by 30% and speeding up queries about 4x on a 400+ node single-replica deployment peaking at 40 GB/s writes and ~200 QPS.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
