rhit

Nginx log explorer for the terminal

TLDR

Analyze default nginx log files
$ rhit
Filter logs from a specific date onward
$ rhit -d '[2024-01-15]..'
Measure by bytes transferred
$ rhit -m bytes [/var/log/nginx/access.log]

SYNOPSIS

rhit [options] [logfile...]

DESCRIPTION

rhit reads nginx log files from their standard locations (including gzipped logs), analyzes them, and displays results in formatted tables in the terminal. It supports filtering by date, measuring by hits or bytes, and viewing popular or unpopular IP addresses.

PARAMETERS

-d DATERANGE_

Filter logs by date range (e.g., '2024-01-15..', '..2024-02-01').
-m METRIC
Measure by the given metric: hits or bytes.

INSTALL

sudo pacman -S rhit
brew install rhit

HISTORY

rhit was created by Canop (Denys Seguret) and is written in Rust.

SEE ALSO

goaccess(1), broot(1)