‎2011-09-20
04:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Individual Windows User Login Report
Have tried using a watchlist in a sql statement for the Windows - Logons/logoffs by User report but it gets an error when running the report. Anyone have an example can provide on how to easily do this? Sorting through a default report (even as a csv file) is not practical in this case. SQL error message: : ASA Error -131: Syntax error near jsmith
4 Replies
‎2011-09-20
05:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
When you create your report, you need to add a new parameter definition (that's in the same window where you write the SQL where clause):
- Go to Parameter definition and click on new
- Enter the name (e.g. administrators) and the runtime prompt in the respective text boxes
- Make sure you pick Watchlist as your parametr type
- Click Apply Now the watchlist will be a selectable item in the Insert Param box in the SQL where clause and you can use it in your sql query (e.g. UserNAme IN (${administrators}))
When you run the report, there will be a drop down list with all the defined watchlists on the server. The one you choose will be passed as a runtime parameter.
‎2011-09-21
12:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
The issue is that I wasn't using "IN". Thank you.
‎2011-11-22
08:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Can I user watchlist name in SQL statement (I dont like drop down meni witch watchlist)?
‎2011-12-05
11:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
The drop down list will have all the names of watch lists defined on your envision server. The values of each watch list will not be displayed when your run the report.
