hl is a high-performance command-line log viewer and processing utility written in Rust for analyzing structured application logs. It transforms JSON and logfmt records into readable terminal output with customizable formatting. Users can filter messages by severity levels, timestamps, field values, and complex logical expressions. Its automatic indexing mechanism accelerates chronological sorting and repeated searches across large log collections. Live monitoring combines messages from multiple sources into a timestamp-ordered stream. The application supports compressed log files, configurable time zones, and selective field visibility. Custom themes and external pager integration provide additional flexibility for debugging and system administration.
Features
- High-performance JSON and logfmt processing with human-readable terminal formatting
- Advanced log filtering by severity, timestamps, field values, and logical expressions
- Automatic indexing and chronological sorting across large collections of log files
- Real-time monitoring with timestamp-ordered messages from multiple sources
- Compressed log file support including GZIP, BZIP2, XZ, and Zstandard
- Customizable themes, field visibility, time zones, and external pager integration