Logfile manipulation tools