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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Kubetail – Real-time log search for Kubernetes

126 点作者 andres16 天前
Hi Everyone!<p>Kubetail is a general-purpose logging dashboard for Kubernetes, optimized for tailing logs across multi-container workloads in real-time. With Kubetail, you can view logs from all the containers in a workload (e.g. Deployment or DaemonSet) merged into a single chronological timeline, delivered to your browser or terminal.<p>I launched Kubetail on HN last year and at that time the top request was to add search. Now I&#x27;m happy to say we finally have search available in our latest official release (cli&#x2F;v0.4.3, helm&#x2F;v0.10.1). You can check it out in action here:<p><a href="https:&#x2F;&#x2F;www.kubetail.com&#x2F;demo" rel="nofollow">https:&#x2F;&#x2F;www.kubetail.com&#x2F;demo</a><p>Kubetail normally fetches logs using the Kubernetes API, which does not have search built-in. To enable search, click the “Install” button in the GUI or run `kubetail cluster install` in the CLI to deploy a DaemonSet that places a Kubetail agent on every node. Each agent runs a custom Rust binary powered by ripgrep; it scans the node’s log files and streams only matching lines to your browser or terminal. You can think of a Kubetail search as &quot;remote grep&quot; for your Kubernetes logs. Now you don’t need to download an entire log file just to grep it locally.<p>Since last year we&#x27;ve also added some other neat features that users find helpful. In particular, we built a simple CLI tool that starts the web dashboard on your desktop:<p><pre><code> # Install brew install kubetail # Run kubetail serve </code></pre> We also added a powerful logs sub-command to the CLI that you can use to follow container logs or even fetch all the records in a given time window to analyze them in more detail locally (quick-start):<p><pre><code> # Follow example $ kubetail logs deployments&#x2F;web \ --with-ts \ --with-pod \ --follow # Fetch example $ kubetail logs deployments&#x2F;web \ --since 2025-04-20T00:00:00Z \ --until 2025-04-21T00:00:00Z \ --all &gt; logs.txt </code></pre> We’ve added a lot more features since last year but these are the ones I wanted to highlight.<p>I hope you like what we&#x27;re doing with Kubetail! Your feedback is very valuable so please let us know what you think in the comments here or in our Discord chat.<p>Andres

11 条评论

corytheboyd16 天前
Damn, if you took out the “Kubernetes” part, and made it generalized, it looks like you built something that I have wanted to see for a long time. I think log explorers work best as a GUI, and that they need deep integration with structured logs. Basically I just want the DataDog log explorer but locally, and able to simply intake from some files. Some have tried, but they are always too simple, not parsing out properties of structured logs and building good filtering on top of that. I think setting up Grafana&#x2F;Loki&#x2F;Whatever is way too heavy for such a simple ask.<p>Anyway all that is anecdotal, what you made here is really cool!
评论 #43865848 未加载
评论 #43863874 未加载
评论 #43864753 未加载
glitchcrab16 天前
My personal preference for log tailing is Stern. It doesn&#x27;t have a web UI but then I&#x27;ve never felt like I needed one.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;stern&#x2F;stern">https:&#x2F;&#x2F;github.com&#x2F;stern&#x2F;stern</a>
评论 #43872635 未加载
评论 #43863652 未加载
评论 #43867144 未加载
评论 #43864958 未加载
评论 #43863620 未加载
carlgreene16 天前
Wow, this is exactly what I’ve been missing—juggling a dozen kubectl logs windows and still losing context. Seeing all container logs merged in real time is a game-changer for debugging multi-pod workloads. Love that it runs locally against the API—no more sending sensitive logs offsite. Big thanks to the author for saving my sanity here!
评论 #43864985 未加载
评论 #43863782 未加载
nomilk16 天前
I don&#x27;t use kubernetes but the GUI looks great, I&#x27;m looking for something sililar for heroku (currently storing logs in papertrail but haven&#x27;t found a great way to search through achieved logs, especially locally).<p>Great demo video btw. Would you mind detailing which software you used to make it? I&#x27;d like to do similarly for some of my projects.
评论 #43866999 未加载
nodesocket15 天前
I’ve been using Kubetail since the early days it was released in my homelab Kubernetes cluster. It’s fantastic and incredibly easy to setup and configure (unlike Loki + Grapha or ELk). Very polished.
评论 #43872801 未加载
otterley16 天前
&quot;Search&quot; feels like a bit of a stretch to me--that suggests that it plays in the same space as OpenSearch or Splunk. There&#x27;s no index here that I can tell.<p>&quot;Filter&quot; sounds more accurate.
评论 #43865057 未加载
ai-christianson16 天前
This looks awesome --do you cache or store the logs, or is that left up to k8s?
评论 #43864034 未加载
badmonster16 天前
How does it compare to tools like Loki&#x2F;Grafana or Stern?
评论 #43865040 未加载
Dlemo16 天前
If you don&#x27;t know about argocd, try it out! It also shows you the logs of containers.<p>Otherwise check out grafana with Loki (kube-stack)
hnlub16 天前
Not to be confused with the other kubetail that also does kube log things.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;johanhaleby&#x2F;kubetail">https:&#x2F;&#x2F;github.com&#x2F;johanhaleby&#x2F;kubetail</a>
评论 #43864226 未加载
gitroom16 天前
bruh merging logs from all pods at once is something i always wanted, props for finally making this sane
评论 #43870106 未加载
评论 #43867465 未加载