- right align the 'hits' column of histograms
- allow some additional spaces in filters of several kinds, eg
-d '> 12/25'
- fix some problems in filters using several operators without parenthesis
- fix app name in
--version
- better error message on path not found - thanks @orhun
--output
parameter lets you choose between summary tables (default) or the log lines, either raw, as CSV, or as JSON--lines
parameter removed (use--output raw
or-o r
instead)--date
precision now the second--time
filter- new time histogram (time of the day, in the server's timezone)
- more helpful
--help
- more targets for binaries in the official archives, especially ARM 32/64 both gnu and musl
- dependency managment - Fix #22
- mostly dependency updates and compilation fixes
- allow passing several paths as arguments - Fix #14
- better table fitting algorithm, less frequently breaking the histogram columns
- don't write an error when no log line matches the query
- fix compilation broken by patch release 1.0.49 of anyhow
- nothing new visible, small internal upgrades
- fix inability to render on narrow terminals
- look up to 3 lines of a file for a log line when checking whether it's a log file - Fix #8
- faster log parsing (about 7%)
- IP filtering allow regexes or any string based filtering
- new syntax to specify fields, allow adding from default, removing from all, etc. (the old syntax still works)
- compiles on windows (but doesn't know where the log files are) - I need testers to confirm it works
- change error message "no log found" into a more appropriate one when there was an error reading (usually lack of permission)
- small details, like the order of arguments in help
--lines
option to output log lines to stdout- accept date in ISO 8601 format (previously, only the "common log format" was accepted) - Fix #3
- fix wrong version number in rhit.log file
- any file whose name contains "access.log" is considered a probable log file
- when a single file is given to rhit, its name isn't checked
- no file name is checked with
--no-name-check
--all
argument to remove the filter excluding "resources" from the paths tables
Many changes in the arguments you give to rhit:
tables
have been renamedfields
addr
(remote IP addresses) has been changed toip
both in fields list and as filter- instead of a
trends
table, there's a--changes
argument (short:-c
) - with
--changes
, you see more popular and less popular referers - with
--changes
, you see more popular and less popular remote ip adresses if the ip field is shown (eg withrhit -f date,ip -c
) - date filters can be negative or inequalities (eg:
-d '>2021/02/10'
)
- the
--key
argument defines the key measure, either 'hits' (default) or 'bytes' (of the response) used for sorting and filtering, and highlighted in pink - you can filter on year or month (eg
rhit -d 2021/02
) - trends in all tables
- when you pipe the output of rhit to a file, there's no style information. You can choose explicitly to have or not the styles and colors with the
--color
argument - Fix #1
- trends
- first public release