I am trying to calculate the Error rate % from a PHP application for PHP metrics. I read the access.log file and got help outputting the total HTTP 200, 300, 400, 500 errors