Log files
rhit
(or sudo rhit
depending on your configuration) will open the access logs if they're at their standard location.
You may open a specific file, or a specific directory, by giving the path as argument:
rhit my/archived/logs
Note
Only the default log format is currently supported. Custom logs aren't understood by Rhit.
Launch parameters
rhit --help
will display all available launch arguments.
The arguments you'll most often use enable
- filtering hits to focus on a specific subset:
--date
,--ip
,--method
,--path
,--referer
,--status
- choosing the displayed fields:
--fields
- choosing the sorting key, either hits (default) or bytes:
--key
- specifying the detail level, the length of tables:
--length
, from0
(short) to6
(long),1
being the default - seeing the recent changes:
--changes
- exporting the filtered lines, either to screen or to a file