USERDATA2: '' USERDATA3: '' USERDATA4: '' USERDATA5: '' USERDATA6: '' USERDATA7: '' USERDATA8: '' USERDATA9: '' IP_SRC: the source ip of the event IP_DST: the destination ip of the event IP_PROTO: the ip protocol PORT_SRC: the source port PORT_DST: the destination port IP_PORTSRC: the source ip and port in the format ip:port IP_PORTDST: the destination ip and port in the format ip:port */ // if no viewer configured show default settings if ($selected_group == 0) { $table_conf = array(1 => array('label' => _("Type"), 'align' => 'left', 'width' => '60', 'contents' => '[PLUGIN_NAME] <b>SID_NAME</b>'), 2 => array('label' => _("Date"), 'wrap' => false, 'contents' => 'DATE'), 3 => array('label' => _("Source IP"), 'contents' => 'IP_PORTSRC'), 4 => array('label' => _("Destination IP"), 'contents' => 'IP_PORTDST')); $plugin_group = 0; } else { $table_conf = $groups_config[$selected_group]; $plugin_group = $selected_group; } $page_conf = array('results_per_page' => $total_rows, 'plugin_group' => $plugin_group); $viewer = new Event_viewer($page_conf, $table_conf); $viewer->init_plugins_conf(); $viewer->draw(); ?> </body></html>