TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Supabase Logs: open-source logging server

237 pointsby arranfabout 2 years ago

14 comments

kiwicoppleabout 2 years ago
hey hn, supabase ceo here<p>this one is a long-time coming and it&#x27;s a continuation of our acquisition of Logflare[0]. Since the acquisition we&#x27;ve be open-source-ing the server, which you can find here: <a href="https:&#x2F;&#x2F;github.com&#x2F;Logflare&#x2F;logflare">https:&#x2F;&#x2F;github.com&#x2F;Logflare&#x2F;logflare</a><p>Logflare handles about 1.5 billion log-events everyday on supabase. It&#x27;s built with Elixir and has no problems with that workload.<p>This is really just the start of the Logflare updates. All logs are currently ingested into BigQuery, and we are adding support for Clickhouse and other backends (focusing primarily on open source backend). Over time Logflare will function very much like an open source Sentry alternative, where you can ingest data from various sources.<p>The team will be around if you have any questions about the technical implementation<p>[0] acquision: <a href="https:&#x2F;&#x2F;supabase.com&#x2F;blog&#x2F;supabase-acquires-logflare">https:&#x2F;&#x2F;supabase.com&#x2F;blog&#x2F;supabase-acquires-logflare</a>
评论 #35521840 未加载
评论 #35521566 未加载
评论 #35525636 未加载
评论 #35521575 未加载
评论 #35525104 未加载
nextaccounticabout 2 years ago
&gt; Logflare was available under a BSL license prior to joining Supabase. We’ve since changed the license to Apache 2.0, aligning it with our open source philosophy.<p>I wish more companies were like this!<p>(note, the vector.dev link is broken)
评论 #35521676 未加载
madjam002about 2 years ago
It would be awesome if this could use Quickwit as a backend which is a new promising alternative to Elasticsearch, I’ve been using it internally and it’s much more lightweight and easier to run.
评论 #35521932 未加载
simonwabout 2 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;Logflare&#x2F;logflare&#x2F;tree&#x2F;staging">https:&#x2F;&#x2F;github.com&#x2F;Logflare&#x2F;logflare&#x2F;tree&#x2F;staging</a><p>&gt; Simply provide your BigQuery credentials and we stream logs into your BigQuery table while automatically managing the schema<p>I didn&#x27;t know BigQuery was capable of accepting streaming log data - in my mental model of the world it was the kind of database that you update using the occasional batch job, not from a streaming source of data.<p>Looks like that&#x27;s the tabledata.insertAll method which has been around for quite a few years - though it&#x27;s now called the &quot;legacy streaming API&quot; on <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;bigquery&#x2F;docs&#x2F;streaming-data-into-bigquery" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;bigquery&#x2F;docs&#x2F;streaming-data-into-b...</a> which suggests using the more recent Storage Write API instead: <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;bigquery&#x2F;docs&#x2F;write-api" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;bigquery&#x2F;docs&#x2F;write-api</a>
评论 #35520543 未加载
mtlynchabout 2 years ago
I tried LogFlare (which is now Supabase Logs) in January, but it didn&#x27;t work well for what I wanted.<p>Supabase Logs &#x2F; Logflare seems primarily interested in creating graphs from logs rather than using logs for diagnostic purposes.<p>I&#x27;ve been looking for a log solution that&#x27;s good for the use case of high retention but low volume.<p>I have a few small apps that generate a few MB of logs per month, so basically nothing. But I still want to have all my logs searchable in one place.<p>Most logging solutions set retention based on time rather than data size. So regardless of how much you&#x27;re logging, they throw away your logs within somewhere between 7-30 days unless you&#x27;re on an insane Enterprise plan.<p>I was excited about LogFlare because it supports unlimited retention, but I ran into too many issues and had to cancel my subscription:<p>* To search your logs, you need to write a SQL-like query in LogFlare&#x27;s DSL. You can&#x27;t just put in a route (e.g. &#x2F;api&#x2F;auth) like you can with other log analytics.<p>* Search only shows the matching lines. Usually, what I want to see is the log line in context. For example, if I search &quot;catastrophic error&quot; I want to see the log lines leading up to that, not just that specific line.<p>* Search is limited to a maximum of 100 results. If you want to see more results, you need to rewrite your query rather than just scroll up or hit a &quot;load more&quot; button.<p>* When you do adjust the query to a larger time window, the query will fail because it can&#x27;t generate a graph unless you also adjust the group_by in your query to match the new time window&#x27;s limits. This is an annoying obstacle if you don&#x27;t care about graphing the results and are just trying to diagnose an issue in your logs.<p>I found support lacking as well. I emailed support to ask if I was misunderstanding how to use Logflare or if it was just designed for a different use case. I was on a paid plan, but I still had to wait 3 business days for a response. When the response came, they just said that it was designed for me but didn&#x27;t address any of the issues I brought up.<p>I do like that Logflare&#x2F;Supabase let you bring your own BigQuery. That&#x27;s nice for customers like me who want low-volume, high retention. I hope they continue iterating because it has potential.<p>In the meantime, I&#x27;ve found LogTail to be a pretty good alternative, but they&#x27;re limited to 30 days of retention even on the highest tier plan.
评论 #35525614 未加载
gvvabout 2 years ago
I weep a bit every time I see a new Supabase capability knowing I&#x27;m stuck on Firebase.
评论 #35521501 未加载
评论 #35567454 未加载
评论 #35521196 未加载
lyziincabout 2 years ago
I&#x27;m one of the Logflare devs @ supabase that made this a reality, feel free to AMA about the technical details.
评论 #35523168 未加载
trialectabout 2 years ago
Why is this better than loki?
评论 #35527797 未加载
ralusekabout 2 years ago
What are some of the largest production applications built using Supabase? I know it&#x27;s popular for whipping something up for a hackathon, but how battle tested is it?<p>Also does anybody know what they&#x27;re doing behind the scenes with the database? I know their storage uses s3, functions (I think) use Deno, this uses BigQuery. Is their db on RDS&#x2F;Aurora? If so how do they claim max DB size of 1024 TB while Aurora is 128 TB?
评论 #35528919 未加载
Nathanbaabout 2 years ago
If sentryio has a self hosted version and logflare has one too, why would I pick logflare? Are there any differences? I tried sentryio and it&#x27;s really convenient, at least the hosted version.
评论 #35524674 未加载
sidcoolabout 2 years ago
Is self hosting possible and feasible?
评论 #35521548 未加载
notadeveloperabout 2 years ago
Looks great! Supabase is amazing product. Why not Bigtable though?
cpursleyabout 2 years ago
Great job, Supabase!<p>Can we use Logflare as a generic logging service?
评论 #35524536 未加载
progxabout 2 years ago
Exists a pino transport?
评论 #35522040 未加载
评论 #35522034 未加载