Log processing framework for extracting metrics from logs and sending them to statsd