I am tying to get logparser to work with sending the total of sc-bytes to a sql database, and I am having pretty good luck, but was hoping for some help..
When I run the code below (for each domain) it creates a table called 'w3svc1', I run that command from a batch file, and there are many sites that it does this on, I would much rather have this thing send all the data to the same table, and just have two columns, bandwidth & w3svc#, that way when I export to excel or whatever it's not all individual worksheets.
I am hoping that makes sense
logparser "Select SUM(sc-bytes) AS TotalBytes FROM D:\logfiles\w3\W3SVC1\ex0312*.log TO W3SVC1" -i:W3C -o:SQL -server:x.x.x.x -driver:"SQL Server" -database:billing -username:billing -password:**** -createtable:ON
Thanks!