{"by":"andres","descendants":35,"id":43863418,"kids":[43863739,43863579,43863731,43866880,43872222,43864908,43864006,43864764,43867310,43864181,43867451],"score":126,"text":"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\n    brew install kubetail\n\n    # Run\n    kubetail serve\n</code></pre>\nWe 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\n    $ kubetail logs deployments&#x2F;web \\\n        --with-ts \\\n        --with-pod \\\n        --follow\n\n    # Fetch example\n    $ kubetail logs deployments&#x2F;web \\\n        --since 2025-04-20T00:00:00Z \\\n        --until 2025-04-21T00:00:00Z \\\n        --all &gt; logs.txt\n</code></pre>\nWe’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","time":1746133898,"title":"Show HN: Kubetail – Real-time log search for Kubernetes","type":"story","url":"https://github.com/kubetail-org/kubetail"}