diff --git a/pandora_console/operation/events/event_statistics.php b/pandora_console/operation/events/event_statistics.php deleted file mode 100644 index 00dd1f4bc6..0000000000 --- a/pandora_console/operation/events/event_statistics.php +++ /dev/null @@ -1,108 +0,0 @@ -'; - - echo ''; - echo ""; - echo '

'.__('Event graph').'

'; - echo ''; - - echo ""; - echo '

'.__('Event graph by user').'

'; - echo ''; - echo ''; - - echo ''; - echo ""; - echo grafico_eventos_total(); - echo ''; - - echo ""; - echo grafico_eventos_usuario(320, 280); - echo ''; - echo ''; - - echo ''; - echo ""; - echo '

'.__('Event graph by agent').'

'; - echo ''; - - echo ""; - echo '

'.__('Amount events validated').'

'; - echo ''; - echo ''; - - $where = ''; -if (!users_is_admin()) { - $where = 'AND event_type NOT IN (\'recon_host_detected\', \'system\',\'error\', \'new_agent\', \'configuration_change\')'; -} - - echo ''; - echo ""; - echo grafico_eventos_grupo(300, 250, $where); - echo ''; - - echo ""; - $extra_filter = []; -if (!users_is_admin()) { - $extra_filter['event_type'] = [ - 'unknown', - 'alert_fired', - 'alert_recovered', - 'alert_ceased', - 'alert_manual_validation', - 'critical', - 'warning', - 'normal', - ]; -} - - echo graph_events_validated(320, 250, $extra_filter); - echo ''; - echo ''; - -echo ''; diff --git a/pandora_console/operation/menu.php b/pandora_console/operation/menu.php index e4221d08bf..7d13bab9dd 100644 --- a/pandora_console/operation/menu.php +++ b/pandora_console/operation/menu.php @@ -393,8 +393,6 @@ if (check_acl($config['id_user'], 0, 'ER') $sub['operation/events/events']['text'] = __('View events'); $sub['operation/events/events']['id'] = 'View events'; $sub['operation/events/events']['pages'] = ['godmode/events/events']; - $sub['operation/events/event_statistics']['text'] = __('Statistics'); - $sub['operation/events/event_statistics']['id'] = 'Statistics'; // If ip doesn't is in list of allowed IP, isn't show this options. include_once 'include/functions_api.php';