Automate Monitor string in different log files
Posted
by
EVIA
on Server Fault
See other posts from Server Fault
or by EVIA
Published on 2012-07-02T20:24:24Z
Indexed on
2012/07/02
21:17 UTC
Read the original article
Hit count: 121
windows-server-2008
|windows-server-2003
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...
© Server Fault or respective owner