I was recently extracting information from an application event log for a particular issue. Using Logparser made it very simple to just get what I needed. Hope this helps.
'Extracts information for 'mydomain.com' and puts in a file called filename.csv
LogParser "SELECT SourceName,TimeGenerated,TimeWritten,Message INTO filename.csv FROM \ServerApplication where Message Like '%mydomain.com%'" -o:CSV
HI i’m using the same process to get eventlogs from remote servers but i don’t know how to perform it on a server that’s not in my domain, how can i specify username and password to connect to this server?
thanks for help
LikeLike
I would encourage you to visit http://forums.iis.net and post your question in the Logparser forums.
LikeLike