#!/bin/bash
# This is to clean up the log file before running log_analyzer.php on it in order to get accurate results.
sed -e '/^\-\-\- clients\//,+1d' \
    -e '/^\-\-\- change\//,+1d' \
    -e '/^\-\-\- groups\//,+1d' \
    -e '/^\-\-\- meta\//,+1d' \
    -e '/^\-\-\- storageup\//,+1d' \
    -e '/^\-\-\-.* peek count/d'

