Details on how we capture application data in our access and error logs, as well as how to generate quick reports and graphs from these logs.
This talk was presented at O'Reilly's Velocity Online Conference on October 26, 2011.
15. mod_log_config
%f Filename requested
# of keepalive requests served
%k on this connection
Time taken to serve the request,
%T in seconds
16. mod_log_config
%f Filename requested
# of keepalive requests served
%k on this connection
Time taken to serve the request,
%D in microseconds
17. mod_log_config
%f Filename requested
# of keepalive requests served
%k on this connection
Time taken to serve the request,
%D in microseconds
Contents of “note” foobar from
%{foobar}n another module
36. Quick graphs
# GNUPLOT
set terminal png
set output 'listings.png'
set yrange [0:2000]
set xdata time
set timefmt "%d/%B/%Y:%H:%M:%S"
set format x "%H:%M"
plot '/tmp/pagetimes.dat' using 1:2 with points