Can I parameterize part of the .sql file and pass values as command line arguments so that logparser will replace the tokens at runtime with the values passed on the command line?
I'd like to be able to code this:
SELECT RecordNumber
,TO_INT(EventID)
,EventCategory
,TO_STRING(EventType)
,EventTypeName
,TimeGenerated
,ComputerName
,NULL
,NULL
,NULL
,NULL
,NULL
,Message
,HEX_TO_ASC(Data)
,NULL
INTO CapturedEvents FROM %1,%2,%3
And pass the \\<server1 IP>\Application \\<server2 IP>\Application \\<server3 IP>\Application as command line agruments.