In order to set this up for xi, the basic steps:
1. in the ccm, set up the auditing database. You'll need a db user name with write privileges because you'll be creating tables when you do this. Stop the cms server (previously aps) go to properties and select configuration tab - audit db set up is fairly straight forward. Just enter connection info and credentials and 'voila'.
2. Select actions to audit within the CMC - under most servers there is an audit tab with variuos selections. The report job server will have selections pertinent to scheduled reports since this is what its primary function is.
3. The audit db in XI is fairly different in structure than that of 10, but there are only about a 1/2 dozen main tables so it's not too difficult to figure out.
The event_type and detail_type tables will be a good place to start to see how the items you select in step 2 end up being translated into the db.
Here is a query that I am using for the crystal report I am currently working on. It is substantially untested, but seems to work ok so far:
SELECT AUDIT_DETAIL.DETAIL_TYPE_ID,
AUDIT_EVENT.EVENT_TYPE_ID,
AUDIT_EVENT.DURATION,
AUDIT_EVENT.START_TIMESTAMP,
AUDIT_EVENT.USER_NAME,
AUDIT_DETAIL.DETAIL_TEXT
FROM CRYSTAL.AUDIT_EVENT AUDIT_EVENT
LEFT OUTER JOIN CRYSTAL.AUDIT_DETAIL AUDIT_DETAIL
ON (AUDIT_EVENT.EVENT_ID=AUDIT_DETAIL.EVENT_ID)
AND (AUDIT_EVENT.SERVER_CUID=AUDIT_DETAIL.SERVER_CUID)
WHERE AUDIT_DETAIL.DETAIL_TYPE_ID=3
AND AUDIT_EVENT.EVENT_TYPE_ID=327681 AND (AUDIT_EVENT.START_TIMESTAMP
>=TO_DATE ('22-02-2006 00:00:00', 'DD-MM-YYYY HH24:MI:SS')
AND AUDIT_EVENT.START_TIMESTAMP
<TO_DATE ('23-02-2006 00:00:01', 'DD-MM-YYYY HH24:MI:SS'))
the AUDIT_DETAIL.DETAIL_TEXT is the name of the report in this case, though it can contain other data.
I have limited to successfully scheduled reports by
selecting where event_type_id = 327681 and detail_type_id = 3.
Anyway, like I said, at least so far this seems to be working for me, I am still developing. I am still looking for the parameter value fields at this point.
Good luck with your move to xi
