Index: /branches/amp_3_7_0/extensions/auditing/rpm.spec
===================================================================
--- /branches/amp_3_7_0/extensions/auditing/rpm.spec	(revision 2402)
+++ /branches/amp_3_7_0/extensions/auditing/rpm.spec	(working copy)
@@ -1,5 +1,5 @@
 Name:       auditing
-Version:    3.4.1
+Version:    3.7.0
 Release:    1%{?dist}
 Summary:    Log Analysis Module
 
Index: /branches/amp_3_7_0/extensions/auditing/webui/log_analysis/sslvpn_service/tabs/statistics/server.detail.controller.js
===================================================================
--- /branches/amp_3_7_0/extensions/auditing/webui/log_analysis/sslvpn_service/tabs/statistics/server.detail.controller.js	(revision 2402)
+++ /branches/amp_3_7_0/extensions/auditing/webui/log_analysis/sslvpn_service/tabs/statistics/server.detail.controller.js	(working copy)
@@ -11,8 +11,9 @@
         'deviceService',
         'timeService',
         'localStorageService',
-        function ($scope, $rootScope, $state, $stateParams, $uibModal, $filter, $location, userService, deviceService, timeService, localStorageService) {
-
+        'roleMgmtService',
+        function ($scope, $rootScope, $state, $stateParams, $uibModal, $filter, $location, userService, deviceService, timeService, localStorageService, roleMgmtService,) {
+            $scope.role_info = localStorageService.getWebStorage('role_info');
             $('#start').datetimepicker({
                 autoclose: true,
                 endDate: new Date()
@@ -151,12 +152,18 @@
 
             var device_load = false;
             var log_load = false;
-            deviceService.getDeviceList().then(function (res) {
+            roleMgmtService.getRoleDeviceGroupMapping($scope.role_info).then(function (res) {
                 if (res && res.status === 200) {
+                    let data = res.data;
                     serverDetailStatisticsViewModal.deviceList = {};
-                    _.each(res.data, function (data) {
-                        serverDetailStatisticsViewModal.deviceList[data["ip"]] = data;
-                    })
+                    if (data.length > 1) {
+                        let deviceGMap = data[1]['result'];
+                        deviceGMap.forEach(function (deviceGroup) {
+                            deviceGroup['device_list'].forEach(function (device) {
+                                serverDetailStatisticsViewModal.deviceList[data["ip"]] = data;
+                            })
+                        })
+                    }
                     device_load = true;
                     if (log_load) {
                         _.each(serverDetailStatisticsViewModal.dataList_tmp, function (data) {
