Automate Monitor string in different log files
- by EVIA
I have few log files in different servers and I want to check output in the end of those log files for e.g . success: 4000
failed: 200
These logs files are getting generated daily and I have to keep track of these numbers. If there is any way I can automate this option instead of going and checking these files and wasting so much of my time.
I want to create some kind of script like
Go to \serverA\C$\log_07_02_2012.txt and check this line
Go to \serverB\C$\log_07_02_2012.txt and check some other line.
....
and it should give me output from all of these...