I need to import our IIS logs into SQL. I have found all sorts of articles that describe how to do this, but none of them (that I've found anyway) describe how to actually reformat the log files so that all lines beginning with a "#" are taken out. That's all I need to get accomplished at this point. I know how to import them once they are reformatted, but getting them reformatted has been the bane of my existence so far.
Can Log Parser be used to do this? I don't want to write, "pre" queries if you will, against the log file before hand. I just want to open the file, delete those lines, and save it into a new filename.
If this is possible, can somone please provide me with syntax as well. Think of this as explaining to a 3 year old. :)
Thanks in advance.
- Jann