ASP to convert IIS logs
-
I have a folder (/logs/) that contains the IIS log files. Does anyone have scripts that will either convert these to HTML files, or convert them on the fly? Even some script to just parse the files would help me a lot. Thanks :~
-
I have a folder (/logs/) that contains the IIS log files. Does anyone have scripts that will either convert these to HTML files, or convert them on the fly? Even some script to just parse the files would help me a lot. Thanks :~
Are you wanting to "pretty print" them? If so, the script would depend on the log format you chose and what fields you chose to log. You'll need to use the Scripting.FileSystemObject if you are truly in ASP. If you're using ASP.Net there are other methods. If not, they are just text files, so you can just link directly to them and they will display in the browser, no assembly required.