From c8f86c0da093fe41018f708632c56d8f4bad3dfb Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 21 Jun 2025 11:02:51 +0200 Subject: [PATCH] add hl --- technology/applications/Applications.md | 1 + technology/applications/development/hl.md | 75 +++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 technology/applications/development/hl.md diff --git a/technology/applications/Applications.md b/technology/applications/Applications.md index 94ea8d9..7b94900 100644 --- a/technology/applications/Applications.md +++ b/technology/applications/Applications.md @@ -312,6 +312,7 @@ rev: 2025-01-30 - [uv](./development/uv.md) - [rust-script](./development/rust-script.md) - [renovatebot](./development/renovate.md) +- [hl](./development/hl.md) ## Media - [yt-dlp](./media/yt-dlp.md) diff --git a/technology/applications/development/hl.md b/technology/applications/development/hl.md new file mode 100644 index 0000000..9ec1abd --- /dev/null +++ b/technology/applications/development/hl.md @@ -0,0 +1,75 @@ +--- +obj: application +repo: https://github.com/pamburus/hl +---- + +# hl +High-performance log viewer and processor that transforms logs in JSON and logfmt formats into a human-readable output. Built with efficiency in mind, it enables quick parsing and analysis of large log files with minimal overhead. + +## Usage +Usage: `hl [OPTIONS] [FILE]...` + +| Option | Environment | Description | +| ----------------------------------- | ------------ | ---------------------------------------------------------------------------------------------------- | +| `--config ` | `$HL_CONFIG` | Configuration file path | +| `-s`, `--sort` | | Sort messages chronologically | +| `-F`, `--follow` | | Follow input streams and sort messages chronologically during time frame set by `--sync-interval-ms` | +| `--tail ` | | Number of last messages to preload in `--follow` mode (default: 10) | +| `--sync-interval-ms ` | | Synchronization interval for live streaming (default: 100) | +| `--paging ` | `$HL_PAGING` | Control pager usage (default: auto) [auto, always, never] | +| `-P` | | Alias for `--paging=never`, overrides `--paging` | +| `--help` | | Print help | +| `-V`, `--version` | | Print version | + +### Filtering Options + +| Option | Environment | Description | +| ------------------------- | ----------- | --------------------------------------------------- | +| `-l`, `--level ` | `$HL_LEVEL` | Filter messages by level | +| `--since