log parser tool to extract the report from the multiple exchange serv...
Last post Oct 19, 2018 03:44 PM by Gourav Kapoor
Oct 19, 2018 03:44 PM|Gourav Kapoor|LINK
Hello All ,
In my environment i would like to use the log parser tool to extract the report from the multiple exchange servers which contains logs in the following location .Could you please help me out on this requirement.
Log location : d:\Logs\IISLogs
I would like to extract the logs from the above location from all the servers.
Command i used for single server :
LogParser "select Date As Date, COUNT(*) As Hits from 'Path' GROUP BY Date ORDER BY Hits DESC" -i:W3C -o:DataGrid -i:CSV -o:csv > "C:\Log parser\server1\1.csv"
How should i run this command on my utility box (i.e on the server where the log parser tool is installed) in for each loops to extract the report from multiple exchange servers which contains the log files in the above location.
Log path on every server is same.