And there is an app for websense which is a good place to start:
In general, Websense logs to a SQL database. The best way to get data from it is to use a scripted input to poll the SQL database and retreive the events logged since the last poll. There is a record ID field that can be used to keep track of your place.