TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Logchef – Schema-agnostic log viewer for ClickHouse

41 点作者 mr-karan24 天前
Hey HN! I’m Karan, creator of Logchef (<a href="https:&#x2F;&#x2F;logchef.app" rel="nofollow">https:&#x2F;&#x2F;logchef.app</a>), an open-source log viewer built specifically for exploring logs stored in ClickHouse.<p>This tool grew directly out of my $day job managing massive log volumes. Like many orgs, we migrated our log workloads to ClickHouse for its performance, but found the ecosystem lacked dedicated UI tooling for actually browsing and analyzing those logs effectively.<p>We were using Metabase, and while great for general BI, it wasn&#x27;t designed for log exploration workflows. Common pain points included:<p>- Clunky Ad-hoc Querying: Writing&#x2F;modifying raw ClickHouse SQL for quick checks was slow and error-prone, especially during incidents. - Disconnect Between Viz &amp; Raw Logs: Visualizing trends (like error counts) then drilling down to the specific raw logs often required separate, complex queries and wrestling with row limits. The intuitive &quot;slice-and-dice&quot; was missing. - UI Friction: Simple things like selecting precise time ranges (&quot;last 90 minutes&quot;), easily viewing surrounding log context, or dealing with truncated columns added unnecessary friction. Debugging sessions were taking longer than they should. So, over the last 3-4 months, I built Logchef to scratch this itch.<p>Logchef&#x27;s Core Ideas:<p>- Purpose-Built for ClickHouse Logs: Designed from the ground up for the specific task of log exploration on top of ClickHouse, focusing on speed and intuitive workflows. - Schema-Agnostic: Logchef doesn&#x27;t force OTEL or any other schema. Connect it directly to your existing ClickHouse log tables (it just needs a timestamp column). Bring your own schema! - Focus on Viewing&#x2F;Querying: Logchef intentionally doesn&#x27;t handle log collection&#x2F;ingestion. It complements great tools like Vector, Fluentbit, etc., by focusing purely on the exploration layer once data is in ClickHouse. - Simple Search Syntax: Includes a simple query syntax (e.g., `status=200 and path~&quot;&#x2F;api&#x2F;&quot;`) that translates to efficient ClickHouse SQL behind the scenes, integrated with the Monaco editor.<p>Tech Stack: Go backend, SQLite for metadata, Vue.js + shadcn&#x2F;ui + Tailwind CSS frontend.<p>You can try a live public demo here: <a href="https:&#x2F;&#x2F;demo.logchef.app" rel="nofollow">https:&#x2F;&#x2F;demo.logchef.app</a> (It&#x27;s pre-populated with sample data using Vector, so you can dive right in. Uses Dex for OIDC auth - creds are on the login page).<p>What&#x27;s Next &amp; Getting Involved:<p>Logchef is already used internally at Zerodha, and I&#x27;m driving towards v1.0 this year. The roadmap includes features like Alerting, Live Tail Logs, and Enhanced Dashboarding. It&#x27;s open source (AGPLv3), and I&#x27;d love to get more eyes on it and build a community.<p>Check out the repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;mr-karan&#x2F;logchef">https:&#x2F;&#x2F;github.com&#x2F;mr-karan&#x2F;logchef</a><p>I’d love to hear your feedback, whether positive or negative. Please open issues on GitHub with suggestions or bug reports!<p>Thanks so much, HN!

2 条评论

Zeppelin149224 天前
similar to <a href="https:&#x2F;&#x2F;github.com&#x2F;iamtelescope&#x2F;telescope">https:&#x2F;&#x2F;github.com&#x2F;iamtelescope&#x2F;telescope</a>
badmonster24 天前
How does Logchef handle multi-tenant access control at the ClickHouse query level to prevent cross-team data leaks?
评论 #43813814 未加载