LinuxCommandLibrary

rhit

Nginx log explorer for the terminal

TLDR

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

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.

HISTORY

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

SEE ALSO

goaccess(1), ngxtop(1), broot(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard