If it's SAS Logs then the SAS Environment Manager provides quite a bit for such tasks.
For other logs: I agree with you that this is a problem which people must have solved already but whenever I actually need something specific I end up not finding anything pre-fabricated where amending the code for my specific use case wouldn't take me as long as writing new (and much simpler) code from scratch.
Looking at the log layout you've posted: That's so nicely structured that it shouldn't be too hard to parse out what you need.