Skip to content

Instantly share code, notes, and snippets.

@FreekPaans
Created March 5, 2015 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FreekPaans/b8fb0f5a35b32d0b6164 to your computer and use it in GitHub Desktop.
Save FreekPaans/b8fb0f5a35b32d0b6164 to your computer and use it in GitHub Desktop.
import iis log into sql using logparser
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