I am able to retrieve all the audit events in a csv report for a specific period using below query Syntax. I used the below query in Background Search Class Template and used this template in Background Search Sweeps.
I used "AS" keyword syntax to explicitly indicate the search result property for an item in the SELECT clause. This explicit mapping is called aliasing.
SELECT ClassDescription AS EventClassType, CmAuditSequence AS AuditSequence, Creator AS CreatedBy, DateCreated AS CreatedDate, DateLastModified AS LastModifiedDate, EventStatus AS StatusOfEvent, Id AS EventID, InitiatingUser AS InitiatedUser, LastModifier AS LastModifiedBy, Name AS EventName, Owner AS EventOwner FROM [Event] WHERE [DateCreated] <= 20210223T183000Z
Now, only concern I have is , in a csv report EventClassType (ClassDescription) column is showing as event Class ID instead of Event Class Name (such as Update Event,Get Object Event etc). Any suggestion on how to get the Event Class name instead of GUID in search result csv report ?
#FileNet#Support#SupportMigration