Created
March 5, 2015 08:40
-
-
Save FreekPaans/b8fb0f5a35b32d0b6164 to your computer and use it in GitHub Desktop.
import iis log into sql using logparser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logparser "select cs-username, c-ip,date,time,cs-uri-stem,cs-uri-query,time-taken into rapp_logs from <logfile>" -o:SQL -server:<dbserver> -createtable:on -database:<database> -I:W3C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment