6 min read
|
Saved February 14, 2026
|
Copied!
Do you care about this?
This tool converts logs in JSON and logfmt formats into readable outputs, enabling fast analysis of large log files. It offers features like filtering by key/value pairs, timestamp range, and level, along with support for various installation methods across platforms.
If you do, here's more
The article introduces hl, a high-performance log viewer and processor designed for logs in JSON and logfmt formats. It emphasizes speed and efficiency, enabling users to parse and analyze large log files quickly, reaching speeds of about 2 GiB/s for initial scans. The tool supports a variety of filtering options, including field-based filtering using key/value pairs, level filtering by log severity, and timestamp range filtering. Users can streamline their log analysis with features like automatic empty field hiding and multi-line field formatting control.
Installation options for hl are diverse. Users on macOS can easily install it via Homebrew or download it directly from the GitHub releases page. For Linux users, installation methods include using curl to extract binaries or through package managers like Arch's pacman. The article also notes that Windows users should be cautious, as the WinGet package manager version may not work properly, particularly with ANSI escape sequences for color and style. It recommends using external pagers like less, and when using scoop for installation, it automatically handles the less dependency.
The article details practical commands for using hl effectively. For instance, it shows how to concatenate log files, filter messages by various criteria, and track live updates from a log file. Users can easily customize output formats and control visibility of fields, enhancing their ability to analyze logs tailored to specific needs. The toolβs ability to handle large log files and provide fast access to relevant information makes it a powerful resource for developers and system administrators dealing with extensive logging data.
Questions about this article
No questions yet.