Skip to content

Guides

Practical answers to common log-search problems on Linux servers.

  1. How to search logs across multiple servers at once

    Three ways to find the same error in log files on many Linux servers - a shell loop over SSH, parallel SSH tools, and a self-hosted search UI - with the trade-offs of each.

  2. grep logs over SSH on many hosts - commands that actually help

    Practical grep, zgrep and ripgrep commands for searching remote log files over SSH, including rotated .gz logs, context lines, time windows and labelling output by host.

  3. A lightweight alternative to ELK, Graylog and Loki for searching logs

    When a central log platform is the right tool, and when searching logs in place over SSH is enough. A fair comparison of ELK, Graylog, Loki and Logswarm.

  4. Find errors in Java (Log4j, Logback) logs across servers

    How to find exceptions and slow requests in Log4j and Logback log files on many servers - grep patterns for stack traces, threads and loggers, and a regex that turns each line into columns.