mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 03:09:21 +02:00
Fixed some minor issues in the new Logon/Logoff report
This commit is contained in:
parent
350e893f6a
commit
f732abd392
@ -5,13 +5,13 @@
|
||||
* ----------------------------------------------------------------- *
|
||||
* Some constants *
|
||||
* *
|
||||
* Eventsummary Report is a basic report for EventLog
|
||||
* Logon/Logoff Report is a basic report for EventLog based Data
|
||||
*
|
||||
* \version 1.0.0 Init Version
|
||||
* *
|
||||
* All directives are explained within this file *
|
||||
*
|
||||
* Copyright (C) 2008-2009 Adiscon GmbH.
|
||||
* Copyright (C) 2008-2011 Adiscon GmbH.
|
||||
*
|
||||
* This file is part of LogAnalyzer.
|
||||
*
|
||||
@ -172,24 +172,6 @@ class Report_logonlogoff extends Report {
|
||||
else
|
||||
return ERROR_REPORT_NODATA;
|
||||
|
||||
/*
|
||||
// Get List of hosts
|
||||
$content["report_computers"] = $this->_streamObj->ConsolidateItemListByField( SYSLOG_HOST, $this->_maxHosts, SYSLOG_HOST, SORTING_ORDER_DESC );
|
||||
|
||||
// TimeStats
|
||||
$nowtime = microtime_float();
|
||||
$content["report_rendertime"] .= number_format($nowtime - $gl_starttime, 2, '.', '') . "s, ";
|
||||
|
||||
if ( is_array($content["report_computers"]) && count($content["report_computers"]) > 0 )
|
||||
{
|
||||
// Create plain hosts list for Consolidate function
|
||||
foreach ( $content["report_computers"] as $tmpComputer )
|
||||
$arrHosts[] = $tmpComputer[SYSLOG_HOST];
|
||||
}
|
||||
else
|
||||
return ERROR_REPORT_NODATA;
|
||||
*/
|
||||
|
||||
// This function will consolidate the Events based per Host!
|
||||
$this->ConsolidateLogonLogoffs(); // ($arrHosts);
|
||||
|
||||
|
@ -28,8 +28,7 @@
|
||||
global $content;
|
||||
|
||||
// Global Stuff
|
||||
$content['ln_report_event_summary'] = "Event Summary";
|
||||
$content['ln_report_computer_summary'] = "Computer Summary";
|
||||
$content['ln_report_logonoff_summary'] = "Summary of Logon/Logoff events";
|
||||
$content['ln_report_consolidation'] = "Logon / Logoff Events consolidated per User";
|
||||
$content['ln_report_summary'] = "Report Summary";
|
||||
$content['ln_report_number'] = "No.";
|
||||
@ -47,11 +46,5 @@ $content['ln_report_maxLogOnLogOffsPerHost_description'] = "The maximum number o
|
||||
$content['ln_report_colorThreshold_displayname'] = "Counter Threshold";
|
||||
$content['ln_report_colorThreshold_description'] = "If the amount of consolidated events is higher then this threshold, the countfield will be marked red.";
|
||||
$content['ln_report_'] = "";
|
||||
$content['ln_report_'] = "";
|
||||
$content['ln_report_'] = "";
|
||||
$content['ln_report_'] = "";
|
||||
$content['ln_report_'] = "";
|
||||
$content['ln_report_'] = "";
|
||||
$content['ln_report_'] = "";
|
||||
|
||||
?>
|
@ -51,7 +51,7 @@
|
||||
|
||||
<table width="200" cellpadding="0" cellspacing="1" border="0" align="left" class="with_border_alternate">
|
||||
<tr>
|
||||
<td class="cellmenu1" colspan="2" align="center">{ln_report_event_summary}</td>
|
||||
<td class="cellmenu1" colspan="2" align="center">{ln_report_logonoff_summary}</td>
|
||||
</tr>
|
||||
<!-- BEGIN report_summary -->
|
||||
<tr>
|
||||
@ -61,19 +61,6 @@
|
||||
<!-- END report_summary -->
|
||||
</table>
|
||||
|
||||
<table width="50%" cellpadding="0" cellspacing="1" border="0" align="right" class="with_border_alternate">
|
||||
<tr>
|
||||
<td class="cellmenu1" colspan="2" align="center">{ln_report_computer_summary}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="line1">
|
||||
<!-- BEGIN report_computers -->
|
||||
<a href="#{FROMHOST}">{FROMHOST}</a>({itemcount}),
|
||||
<!-- END report_computers -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
<table width="200" cellpadding="0" cellspacing="1" border="1" align="left" class="with_border_alternate">
|
||||
<tr>
|
||||
<td class="cellmenu1" colspan="2" align="center" bgcolor="#9FDAF1"><b>{ln_report_event_summary}</b></td>
|
||||
<td class="cellmenu1" colspan="2" align="center" bgcolor="#9FDAF1"><b>{ln_report_logonoff_summary}</b></td>
|
||||
</tr>
|
||||
<!-- BEGIN report_summary -->
|
||||
<tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user