remove GNU-specific `sort -V`, fix log concatenation order for {,e}searchlog
[logtools.git] / README.md
1 All scripts assume the default (Combined Log Format) format and the default (on most platforms) logrotate config ( regular `.log` and `.log.1` files, every other log file gzip'ed)
2
3 ### searchlog
4
5 grep all `access.log*` files
6
7 ### esearchlog
8
9 grep all `error.log*` files
10
11 ### chckip
12
13 grep all `access.log*` files and perform reverse IP lookup on IPs from matched entries
14
15 ### countbytes
16
17 grep all `access.log*` files and show total bytes sent to the IPs in matched entries
18
19 ### countconn
20
21 shows connections per minute with `-m` or all connections a day with `-d`
22 change the output line count with `-l`