I have a Log Parser 2.2 script which pulls event log data from remote servers and loads the data onto the local machine in a CSV file. I would like to automate the process of pulling the event logs from the remote server to my local machine. I have tried to automate the script through a .bat file. Any help would be much appreciated!
Here is what one of my current scripts looks like:
"C:\Program Files\Log Parser 2.2\LogParser.exe" LogParser -o:CSV "SELECT EventLog, EventTypeName, TimeGenerated, TimeWritten, EventCategory, SourceName, ComputerName, EventID INTO Finance_App_Log.csv FROM \\SERVER\Application"