ThingWorx Remote Access Extension > Administrator Tasks for Remote Access > Querying Audit History for Remote Access
Querying Audit History for Remote Access
To monitor remote access activity, ThingWorx Platform administrators can set up the Audit Subsystem to collect messages of the category, RemoteAccess, and then use the Audit Subsystem services to manage the messages. When a ThingWorx GAS 7.1.0 or later sends audit messages to the platform, they are collected by the Audit Subsystem "online". Administrators can set up periodic export of online data to offline storage.
Administrators can query audit history for the RemoteAccess category through ThingWorx Composer, using the.QueryAuditHistory service of the Audit Subsystem. Note that this service returns only the "Online" audit history. For details on using this service, refer to the topic, Searching Audit Data (Queries, Direct Persistence), in the ThingWorx Platform Help Center.
"Offline" audit data for remote sessions is stored in the AuditArchiveFileRepostiory and can be exported using the ExportAuditData service. Depending on the start and end dates that you specify for the export, this export may include both online and offline data. For details about exporting audit data, refer to the topic, Exporting Online Audit Data, in the ThingWorx Platform Help Center.
Was this helpful?