public LogsResultModel getLogData(Date from, Date to, int maxCount) {
try {
List<LogEvent> list = copperMonitoringService.getList(new TypeFilter<LogEvent>(LogEvent.class), from, to, maxCount);
return new LogsResultModel(copperMonitoringService.getLogConfig(), list);
} catch (RemoteException e) {
throw new RuntimeException(e);
}
}