Here's a simple log parsing script that adds up the numbers from a log. If the line in the log matches the given regex and the given group, the number is added to the total returned at the end.
andrewjennings / pg-log-parsing Goto Github PK
View Code? Open in Web Editor NEWScript created for the SASC Programming Study Group