Hello,
I am trying to extract of several servers the file "log" of the system in SQL's BD and in turn they putting a file .lpc in order that the events do not repeat themselves.
I have been reading be afraid that they were coinciding with my problem, but I have not managed to solve mine
I am trying it of two forms:
1. Of this form I do not manage to jump the mistake " Error: Error connecting to registry on server ..."
logparser -i:EVT "SELECT ComputerName,EventID,Message,TimeGenerated INTO aprueba FROM \\server1\system,\\server2\system,\\server3\system,\\server4\system" -o:SQL -server:SERVER -driver:"SQL Server" -database:LogparserBD -createtable:on -iCheckpoint:"C:\aprueba.lpc"
2. With this file batch do not achieve that it me works icheckpoint
Set Srv=\\server\Servers.txt
Set Aplicacion=\\server\servidores\LogParser\Software\LogParser.exe
for /F %%a in (%Srv%) do %aplicacion% -i:EVT "SELECT ComputerName,EventID,Message,TimeGenerated INTO systemsevt FROM \\%%a\system" -o:SQL -server:SERVER -driver:"SQL Server" -database:LogparserBD -createtable:ON -iCheckpoint:"C:\aprueba.lpc"
Excuse my Englishman of program translator.
Thank you for everything.
Regards