LogLens, a fast alternative to grep – jq for structured logs
LogLens, a fast alternative to grep – jq for structured logs
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!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Moon – fast 7k Vue alternative
Fastcov, a fast parallelized alternative to lcov, gcovr, etc.
Encrypting all your logs with logrotate and Peacemakr
Open-source Kibana alternative for logs and traces in ClickHouse
An app for developers to work with local structured logs
AfricanaWiki – the structured Africana knowledgebase
typed_params – structured and typed parameters for Rails controllers
Vigilant - Blazing fast dev-friendly logs
Hoofli – PlantUML from Browser Logs
LogLens Playground – Query structured logs in browser(WASM,client-side)