Export access history of the monitored objects during the specified time range.
Exporting monitoring data is similar to retrieving monitoring data, with these differences:
void exportSecurityLogHistory(File file, Collection<MonitoredObject> monitoredObjects, Boolean accessResult, Date startTime, Date endTime, Long offset, Integer length, SortedField<? extends Enum> sortedField) throws SUPAdminException; void exportMessagingQueueStatistics(File file, Date startTime, Date endTime) throws SUPAdminException; void exportMessagingRequests(File file, Collection<MonitoredObject> monitoredObjects) throws SUPAdminException; void exportMessagingHistorySummary(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime, Long offset, Integer length, SortedField<? extends Enum> sortedField) throws SUPAdminException; void exportMessagingHistoryDetail(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime, Long offset, Integer length, SortedField<? extends Enum> sortedField) throws SUPAdminException; void exportMessagingPerformance(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime) throws SUPAdminException; void exportMessagingStatistics(File file, String user, Date startTime, Date endTime) throws SUPAdminException; void exportReplicationRequests(File file, Collection<MonitoredObject> monitoredObjects) throws SUPAdminException; void exportReplicationHistorySummary(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime, Long offset, Integer length, SortedField<? extends Enum> sortedField) throws SUPAdminException; void exportReplicationHistoryDetail(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime, Long offset, Integer length, SortedField<? extends Enum> sortedField) throws SUPAdminException; void exportReplicationPerformance(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime) throws SUPAdminException; void exportReplicationStatistics(File file, MonitoredObject monitoredObject, Date startTime, Date endTime) throws SUPAdminException; void exportOperationStatistics(File file, MonitoredObject monitoredObject, Date startTime, Date endTime) throws SUPAdminException; void exportDataChangeNotificationHistory(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime, Long offset, Integer length, SortedField<? extends Enum> sortedField) throws SUPAdminException; void exportDataChangeNotificationPerformance(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime) throws SUPAdminException; void exportDeviceNotificationHistory(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime, Long offset, Integer length, SortedField<? extends Enum> sortedField) throws SUPAdminException; void exportDeviceNotificationPerformance(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime) throws SUPAdminException; void exportCacheGroupPerformance(File file, Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime) throws SUPAdminException; void exportCacheGroupPackageStatistics(File file, MonitoredObject monitoredObject, Date startTime, Date endTime) throws SUPAdminException; void exportCacheGroupMBOStatistics(File file, MonitoredObject monitoredObject, Date startTime, Date endTime) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
File file = new File("D:\\tmp\\access.log"); MonitoredCluster mc = new MonitoredCluster(); mc.addMonitoredDomain(new MonitoredDomain("default")); Collection<MonitoredObject> mos = Arrays .asList(new MonitoredObject[] { mc }); // when the method returns, the access.log contains the exported records. supMonitor.exportSecurityLogHistory(file, mos, null, null, null, null, null, null);