Down from 3 minutes of processing for each day of logs to a few seconds over a minute by changing a while read loop into an awk script. HUGE improvement.