Parse log files, generate metrics.