Nerdlog

Multi-host TUI log viewer with a timeline histogram and no central server

Image 1 of 2: Nerdlog with a timeline histogram above log messages merged from several hosts

Connects to each host over SSH and runs the analysis there, downloading only histogram data and a page of messages, then merges the results into one view. Reads log files or journalctl. Hacked together in 2022 to replace slow Splunk setups.

  • about 10 sIndexing a 2GB log

Trade-offs

  • No central server to run. Filtering and analysis use CPU and IO on the hosts generating the logs, which matters when a host is already overloaded.
  • SSH access as the requirement. That suits small teams, and where developers should not reach production hosts, logs can sync to a separate logging server.
  • Log files preferred over journalctl, which is less reliable and much slower. journalctl remains the last resort because it is more widely available.

Q&A3

An agent bash script uploaded under /tmp. It cuts the time range with tail and head, filters with awk, and prints histogram data and the latest lines to stdout.

Reviews

Loading reviews

    More in Observability

    See all 33 →
    • cerberusPrometheus, Loki and Tempo HTTP gateway for ClickHouse
    • rocketplaneIOSelf-hosted Kubernetes observability with transaction-gated agent actions
    • agent-traceSession recorder and replay tool for coding agents
    • QueueScopeNative macOS dashboard for BullMQ queues on Redis
    • duckdb-otlpOpenTelemetry ingest and SQL queries in DuckDB
    • ProcInShWeb-based Linux process inspector with a 3D process space

    More in Terminal UI

    See all 39 →
    • notmuttAsync terminal mail client built on notmuch, with undoable tag operations
    • MastuiMulti-column Mastodon client for the terminal
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • KatesPerformance, chaos and security testing for Kafka on Kubernetes
    • gitpaneMulti-repo Git dashboard for the terminal and the VS Code Explorer
    • GhostScopeSource-aware eBPF tracer for live userspace processes

    More in CLI tools

    See all 74 →
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
    • quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
    • haxMinimalist terminal coding agent written in C