I want to be able to create a report that can be emailed to someone every week which will show sites that users have visited if then contain certain words etc (e.g. sex, porn...)
I know how to create the report and have it emailed but am unsure how to create the query for this.
You can also script this yourself, if you want to put some elbowgrease into it, by using SQL queries against your ISA logs with Microsoft's free (and wonderful!) Log Parser tool (see www.logparser.com). For a bunch of sample queries, see inside the script named "ISA_LogParser.vbs" at www.ISAscripts.org. This requires some knowledge of SQL query syntax, though, and the logs must be in textual format. If you wanted to batch script it out, I'm sure you could figure out some likely keywords that FINDSTR.EXE or a Windows version of GREP.EXE could find. Overall, though, a commercial third-party app will be the easiest to use.