frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: LogLens, a fast alternative to grep – jq for structured logs

https://getloglens.com/
1•Caelrith•2h ago
Hi HN, I'm the creator of LogLens.

Like many of you, I spend a lot of time digging through massive structured (mostly JSON) log files. I've always relied on grep for its speed and then piped to jq for the actual filtering, but I find this workflow gets slow and complicated, especially with multi-GB files or complex queries.

LogLens is my attempt to fix this. It's a single, fast CLI tool written in Rust that's designed specifically for structured logs. It combines a simple SQL-like query language (e.g., loglens query './logs' 'level == "error" && status >= 500') with parallel, memory-mapped file processing to be significantly faster than grep | jq.

The Model (Please Read):

This is a closed-source, freemium tool.

    Free Tier: The core features (search, query, fields, compress/decompress) are free to use, forever. My goal is for the free tier to be genuinely useful on its own.

    Pro Tier: The advanced features (tui, stats, watch, count, etc.) are part of a Pro license.
I'm a solo developer, and I'm trying to build a sustainable side income from this. The license is $79 for a year of updates, which includes a perpetual fallback license. This means that after your year is up, you can keep using the last version you downloaded, forever.

The Tech: It's written in Rust, using rayon for parallel processing and memmap2 for fast file access. The query engine is a simple, hand-written recursive parser.

I'd be grateful for any feedback you have on the tool, the query language, or the business model.

    Website (with demo GIF): https://www.getloglens.com

    Docs: https://www.getloglens.com/docs
Thanks for checking it out!