mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-23 01:48:03 +02:00
Added support to show dynamic fields for MongoDB logstream sources.
This enables Loganalyzer to view data prior written by rsyslog into MongoDB that came from CEE sources.
This commit is contained in:
parent
af9de2a4ec
commit
ded6e15d09
File diff suppressed because it is too large
Load Diff
@ -488,8 +488,25 @@ class LogStreamMongoDB extends LogStream {
|
|||||||
$arrProperitesOut[$property] = '';
|
$arrProperitesOut[$property] = '';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
$arrProperitesOut[$property] = '';
|
$arrProperitesOut[$property] = '';
|
||||||
|
// echo $property . "=" . $this->bufferedRecords[$this->_currentRecordNum][$dbfieldname];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// --- Add dynamic fields into record!
|
||||||
|
foreach( $this->bufferedRecords[$this->_currentRecordNum] as $propName => $propValue)
|
||||||
|
{
|
||||||
|
if ( !isset($arrProperitesOut[$propName]) &&
|
||||||
|
!$this->CheckFieldnameInMapping($szTableType, $propName) &&
|
||||||
|
(isset($propValue) && strlen($propValue) > 0)
|
||||||
|
)
|
||||||
|
{
|
||||||
|
// Add dynamic Property!
|
||||||
|
$arrProperitesOut[$propName] = $propValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// ---
|
||||||
|
|
||||||
// Run optional Message Parsers now
|
// Run optional Message Parsers now
|
||||||
if ( isset($arrProperitesOut[SYSLOG_MESSAGE]) )
|
if ( isset($arrProperitesOut[SYSLOG_MESSAGE]) )
|
||||||
@ -1572,7 +1589,12 @@ class LogStreamMongoDB extends LogStream {
|
|||||||
OutputDebugMessage("LogStreamMongoDB|ReadNextRecordsFromDB: Running FIND ", DEBUG_ULTRADEBUG);
|
OutputDebugMessage("LogStreamMongoDB|ReadNextRecordsFromDB: Running FIND ", DEBUG_ULTRADEBUG);
|
||||||
|
|
||||||
// Find Data in MongoCollection
|
// Find Data in MongoCollection
|
||||||
$myCursor = $this->_myMongoCollection->find($this->_myMongoQuery, $this->_myMongoFields);
|
$myCursor = $this->_myMongoCollection->find($this->_myMongoQuery)->limit($this->_logStreamConfigObj->RecordsPerQuery)->sort(array("_id" => -1)); // , $this->_myMongoFields);
|
||||||
|
|
||||||
|
// echo "<pre>";
|
||||||
|
// var_dump(iterator_to_array($myCursor));
|
||||||
|
// echo "</pre>";
|
||||||
|
|
||||||
}
|
}
|
||||||
catch ( MongoCursorException $e )
|
catch ( MongoCursorException $e )
|
||||||
{
|
{
|
||||||
@ -1587,11 +1609,9 @@ class LogStreamMongoDB extends LogStream {
|
|||||||
// OutputDebugMessage("LogStreamMongoDB|ReadNextRecordsFromDB: myCursor->info() = <pre>" . var_export($myCursor->info(), true) . "</pre>", DEBUG_ULTRADEBUG);
|
// OutputDebugMessage("LogStreamMongoDB|ReadNextRecordsFromDB: myCursor->info() = <pre>" . var_export($myCursor->info(), true) . "</pre>", DEBUG_ULTRADEBUG);
|
||||||
|
|
||||||
// Limit records
|
// Limit records
|
||||||
$myCursor->limit( $this->_logStreamConfigObj->RecordsPerQuery );
|
// $myCursor->limit( $this->_logStreamConfigObj->RecordsPerQuery );
|
||||||
|
|
||||||
// OutputDebugMessage("Cursor verbose: " . var_export($myCursor->explain(), true), DEBUG_DEBUG);
|
// OutputDebugMessage("Cursor verbose: " . var_export($myCursor->explain(), true), DEBUG_DEBUG);
|
||||||
$myCursor = $myCursor->sort(array("_id" => -1));
|
// $myCursor = $myCursor->sort(array("_id" => -1));
|
||||||
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -1621,6 +1641,7 @@ class LogStreamMongoDB extends LogStream {
|
|||||||
|
|
||||||
// Keys will be converted into lowercase!
|
// Keys will be converted into lowercase!
|
||||||
$this->bufferedRecords[$iBegin] = array_change_key_case( $myRow, CASE_LOWER);
|
$this->bufferedRecords[$iBegin] = array_change_key_case( $myRow, CASE_LOWER);
|
||||||
|
|
||||||
$iBegin++;
|
$iBegin++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
951
src/details.php
951
src/details.php
@ -1,463 +1,490 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
*********************************************************************
|
*********************************************************************
|
||||||
* LogAnalyzer - http://loganalyzer.adiscon.com
|
* LogAnalyzer - http://loganalyzer.adiscon.com
|
||||||
* -----------------------------------------------------------------
|
* -----------------------------------------------------------------
|
||||||
* Details File
|
* Details File
|
||||||
*
|
*
|
||||||
* -> Shows all possible details of a syslog message
|
* -> Shows all possible details of a syslog message
|
||||||
*
|
*
|
||||||
* All directives are explained within this file
|
* All directives are explained within this file
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2010 Adiscon GmbH.
|
* Copyright (C) 2008-2010 Adiscon GmbH.
|
||||||
*
|
*
|
||||||
* This file is part of LogAnalyzer.
|
* This file is part of LogAnalyzer.
|
||||||
*
|
*
|
||||||
* LogAnalyzer is free software: you can redistribute it and/or modify
|
* LogAnalyzer is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* LogAnalyzer is distributed in the hope that it will be useful,
|
* LogAnalyzer is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with LogAnalyzer. If not, see <http://www.gnu.org/licenses/>.
|
* along with LogAnalyzer. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
* A copy of the GPL can be found in the file "COPYING" in this
|
* A copy of the GPL can be found in the file "COPYING" in this
|
||||||
* distribution
|
* distribution
|
||||||
*
|
*
|
||||||
* Adiscon LogAnalyzer is also available under a commercial license.
|
* Adiscon LogAnalyzer is also available under a commercial license.
|
||||||
* For details, contact info@adiscon.com or visit
|
* For details, contact info@adiscon.com or visit
|
||||||
* http://loganalyzer.adiscon.com/commercial
|
* http://loganalyzer.adiscon.com/commercial
|
||||||
*********************************************************************
|
*********************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// *** Default includes and procedures *** //
|
// *** Default includes and procedures *** //
|
||||||
define('IN_PHPLOGCON', true);
|
define('IN_PHPLOGCON', true);
|
||||||
$gl_root_path = './';
|
$gl_root_path = './';
|
||||||
|
|
||||||
// Now include necessary include files!
|
// Now include necessary include files!
|
||||||
include($gl_root_path . 'include/functions_common.php');
|
include($gl_root_path . 'include/functions_common.php');
|
||||||
include($gl_root_path . 'include/functions_frontendhelpers.php');
|
include($gl_root_path . 'include/functions_frontendhelpers.php');
|
||||||
include($gl_root_path . 'include/functions_filters.php');
|
include($gl_root_path . 'include/functions_filters.php');
|
||||||
|
|
||||||
// Include LogStream facility
|
// Include LogStream facility
|
||||||
include($gl_root_path . 'classes/logstream.class.php');
|
include($gl_root_path . 'classes/logstream.class.php');
|
||||||
|
|
||||||
InitPhpLogCon();
|
InitPhpLogCon();
|
||||||
InitSourceConfigs();
|
InitSourceConfigs();
|
||||||
InitFrontEndDefaults(); // Only in WebFrontEnd
|
InitFrontEndDefaults(); // Only in WebFrontEnd
|
||||||
InitFilterHelpers(); // Helpers for frontend filtering!
|
InitFilterHelpers(); // Helpers for frontend filtering!
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// --- Define Extra Stylesheet!
|
// --- Define Extra Stylesheet!
|
||||||
//$content['EXTRA_STYLESHEET'] = '<link rel="stylesheet" href="css/highlight.css" type="text/css">' . "\r\n";
|
//$content['EXTRA_STYLESHEET'] = '<link rel="stylesheet" href="css/highlight.css" type="text/css">' . "\r\n";
|
||||||
//$content['EXTRA_STYLESHEET'] .= '<link rel="stylesheet" href="css/menu.css" type="text/css">';
|
//$content['EXTRA_STYLESHEET'] .= '<link rel="stylesheet" href="css/menu.css" type="text/css">';
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// --- CONTENT Vars
|
// --- CONTENT Vars
|
||||||
if ( isset($_GET['uid']) )
|
if ( isset($_GET['uid']) )
|
||||||
{
|
{
|
||||||
// Now check by numeric as uid can be larger than INT values
|
// Now check by numeric as uid can be larger than INT values
|
||||||
if ( is_numeric($_GET['uid']) )
|
if ( is_numeric($_GET['uid']) )
|
||||||
$content['uid_current'] = $_GET['uid'];
|
$content['uid_current'] = $_GET['uid'];
|
||||||
else
|
else
|
||||||
$content['uid_current'] = UID_UNKNOWN;
|
$content['uid_current'] = UID_UNKNOWN;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$content['uid_current'] = UID_UNKNOWN;
|
$content['uid_current'] = UID_UNKNOWN;
|
||||||
|
|
||||||
// Copy UID for later use ...
|
// Copy UID for later use ...
|
||||||
$content['uid_fromgetrequest'] = $content['uid_current'];
|
$content['uid_fromgetrequest'] = $content['uid_current'];
|
||||||
|
|
||||||
// Init Pager variables
|
// Init Pager variables
|
||||||
$content['uid_previous'] = UID_UNKNOWN;
|
$content['uid_previous'] = UID_UNKNOWN;
|
||||||
$content['uid_next'] = UID_UNKNOWN;
|
$content['uid_next'] = UID_UNKNOWN;
|
||||||
$content['uid_first'] = UID_UNKNOWN;
|
$content['uid_first'] = UID_UNKNOWN;
|
||||||
$content['uid_last'] = UID_UNKNOWN;
|
$content['uid_last'] = UID_UNKNOWN;
|
||||||
$content['main_pagerenabled'] = false;
|
$content['main_pagerenabled'] = false;
|
||||||
$content['main_pager_first_found'] = false;
|
$content['main_pager_first_found'] = false;
|
||||||
$content['main_pager_previous_found'] = false;
|
$content['main_pager_previous_found'] = false;
|
||||||
$content['main_pager_next_found'] = false;
|
$content['main_pager_next_found'] = false;
|
||||||
$content['main_pager_last_found'] = false;
|
$content['main_pager_last_found'] = false;
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// --- If set read direction property!
|
// --- If set read direction property!
|
||||||
|
|
||||||
// Set direction default
|
// Set direction default
|
||||||
$content['read_direction'] = EnumReadDirection::Backward;
|
$content['read_direction'] = EnumReadDirection::Backward;
|
||||||
|
|
||||||
if ( isset($_GET['direction']) )
|
if ( isset($_GET['direction']) )
|
||||||
{
|
{
|
||||||
if ( $_GET['direction'] == "next" )
|
if ( $_GET['direction'] == "next" )
|
||||||
{
|
{
|
||||||
$content['skiprecords'] = 1;
|
$content['skiprecords'] = 1;
|
||||||
$content['read_direction'] = EnumReadDirection::Backward;
|
$content['read_direction'] = EnumReadDirection::Backward;
|
||||||
}
|
}
|
||||||
else if ( $_GET['direction'] == "previous" )
|
else if ( $_GET['direction'] == "previous" )
|
||||||
{
|
{
|
||||||
$content['skiprecords'] = 1;
|
$content['skiprecords'] = 1;
|
||||||
$content['read_direction'] = EnumReadDirection::Forward;
|
$content['read_direction'] = EnumReadDirection::Forward;
|
||||||
}
|
}
|
||||||
else if ( $_GET['direction'] == "desc" )
|
else if ( $_GET['direction'] == "desc" )
|
||||||
{
|
{
|
||||||
$content['read_direction'] = EnumReadDirection::Forward;
|
$content['read_direction'] = EnumReadDirection::Forward;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read filter property in
|
// Read filter property in
|
||||||
if ( isset($_POST['filter']) )
|
if ( isset($_POST['filter']) )
|
||||||
$myfilter = $_POST['filter'];
|
$myfilter = $_POST['filter'];
|
||||||
else if ( isset($_GET['filter']) )
|
else if ( isset($_GET['filter']) )
|
||||||
$myfilter = $_GET['filter'];
|
$myfilter = $_GET['filter'];
|
||||||
else
|
else
|
||||||
$myfilter = "";
|
$myfilter = "";
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// Init Sorting variables
|
// Init Sorting variables
|
||||||
$content['sorting'] = "";
|
$content['sorting'] = "";
|
||||||
$content['searchstr'] = $myfilter;
|
$content['searchstr'] = $myfilter;
|
||||||
$content['highlightstr'] = "";
|
$content['highlightstr'] = "";
|
||||||
$content['EXPAND_HIGHLIGHT'] = "false";
|
$content['EXPAND_HIGHLIGHT'] = "false";
|
||||||
|
|
||||||
// --- BEGIN Custom Code
|
// --- BEGIN Custom Code
|
||||||
if ( isset($content['Sources'][$currentSourceID]) ) // && $content['uid_current'] != UID_UNKNOWN ) // && $content['Sources'][$currentSourceID]['SourceType'] == SOURCE_DISK )
|
if ( isset($content['Sources'][$currentSourceID]) ) // && $content['uid_current'] != UID_UNKNOWN ) // && $content['Sources'][$currentSourceID]['SourceType'] == SOURCE_DISK )
|
||||||
{
|
{
|
||||||
// Obtain and get the Config Object
|
// Obtain and get the Config Object
|
||||||
$stream_config = $content['Sources'][$currentSourceID]['ObjRef'];
|
$stream_config = $content['Sources'][$currentSourceID]['ObjRef'];
|
||||||
|
|
||||||
// Create LogStream Object
|
// Create LogStream Object
|
||||||
$stream = $stream_config->LogStreamFactory($stream_config);
|
$stream = $stream_config->LogStreamFactory($stream_config);
|
||||||
$stream->SetFilter($content['searchstr']);
|
$stream->SetFilter($content['searchstr']);
|
||||||
|
|
||||||
// --- Init the fields we need
|
// --- Init the fields we need
|
||||||
foreach($fields as $mycolkey => $myfield)
|
foreach($fields as $mycolkey => $myfield)
|
||||||
{
|
{
|
||||||
$content['fields'][$mycolkey]['FieldID'] = $mycolkey;
|
$content['fields'][$mycolkey]['FieldID'] = $mycolkey;
|
||||||
$content['fields'][$mycolkey]['FieldCaption'] = $myfield['FieldCaption'];
|
$content['fields'][$mycolkey]['FieldCaption'] = $myfield['FieldCaption'];
|
||||||
$content['fields'][$mycolkey]['FieldType'] = $myfield['FieldType'];
|
$content['fields'][$mycolkey]['FieldType'] = $myfield['FieldType'];
|
||||||
$content['fields'][$mycolkey]['DefaultWidth'] = $myfield['DefaultWidth'];
|
$content['fields'][$mycolkey]['DefaultWidth'] = $myfield['DefaultWidth'];
|
||||||
|
|
||||||
// Append to columns array
|
// Append to columns array
|
||||||
$content['AllColumns'][] = $mycolkey;
|
$content['AllColumns'][] = $mycolkey;
|
||||||
}
|
}
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
$res = $stream->Open( $content['AllColumns'], true );
|
$res = $stream->Open( $content['AllColumns'], true );
|
||||||
if ( $res == SUCCESS )
|
if ( $res == SUCCESS )
|
||||||
{
|
{
|
||||||
// Set Read direction
|
// Set Read direction
|
||||||
$stream->SetReadDirection($content['read_direction']);
|
$stream->SetReadDirection($content['read_direction']);
|
||||||
|
|
||||||
// Set current ID and init Counter
|
// Set current ID and init Counter
|
||||||
$uID = $content['uid_current'];
|
$uID = $content['uid_current'];
|
||||||
|
|
||||||
if ( $uID != UID_UNKNOWN ) // We know the UID, so read from where we know
|
if ( $uID != UID_UNKNOWN ) // We know the UID, so read from where we know
|
||||||
$ret = $stream->Read($uID, $logArray);
|
$ret = $stream->Read($uID, $logArray);
|
||||||
else // Unknown UID, so we start from first!
|
else // Unknown UID, so we start from first!
|
||||||
$ret = $stream->ReadNext($uID, $logArray);
|
$ret = $stream->ReadNext($uID, $logArray);
|
||||||
|
|
||||||
// --- If set we move forward / backward!
|
// --- If set we move forward / backward!
|
||||||
if ( isset($content['skiprecords']) && $content['skiprecords'] >= 1 )
|
if ( isset($content['skiprecords']) && $content['skiprecords'] >= 1 )
|
||||||
{
|
{
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
while( $counter < $content['skiprecords'] && ($ret = $stream->ReadNext($uID, $logArray)) == SUCCESS)
|
while( $counter < $content['skiprecords'] && ($ret = $stream->ReadNext($uID, $logArray)) == SUCCESS)
|
||||||
{
|
{
|
||||||
// Increment Counter
|
// Increment Counter
|
||||||
$counter++;
|
$counter++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// Set new current uid!
|
// Set new current uid!
|
||||||
if ( isset($uID) && $uID != UID_UNKNOWN )
|
if ( isset($uID) && $uID != UID_UNKNOWN )
|
||||||
$content['uid_current'] = $uID;
|
$content['uid_current'] = $uID;
|
||||||
|
|
||||||
// now we know enough to set the page title!
|
// now we know enough to set the page title!
|
||||||
$content['TITLE'] = "LogAnalyzer :: " . $content['LN_DETAILS_DETAILSFORMSG'] . " '" . $uID . "'";
|
$content['TITLE'] = "LogAnalyzer :: " . $content['LN_DETAILS_DETAILSFORMSG'] . " '" . $uID . "'";
|
||||||
|
|
||||||
// We found matching records, so continue
|
// We found matching records, so continue
|
||||||
if ( $ret == SUCCESS )
|
if ( $ret == SUCCESS )
|
||||||
{
|
{
|
||||||
// --- PreChecks to be done
|
// --- PreChecks to be done
|
||||||
// Set Record Count
|
// Set Record Count
|
||||||
$content['main_recordcount'] = $stream->GetMessageCount();
|
$content['main_recordcount'] = $stream->GetMessageCount();
|
||||||
if ( $content['main_recordcount'] != -1 )
|
if ( $content['main_recordcount'] != -1 )
|
||||||
$content['main_recordcount_found'] = true;
|
$content['main_recordcount_found'] = true;
|
||||||
else
|
else
|
||||||
$content['main_recordcount_found'] = false;
|
$content['main_recordcount_found'] = false;
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// Loop through fields - Copy value into fields list! We are going to use this list here
|
// Loop through fields - Copy value into fields list! We are going to use this list here
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
foreach($content['fields'] as $mycolkey => $myfield)
|
foreach($content['fields'] as $mycolkey => $myfield)
|
||||||
{
|
{
|
||||||
if ( isset($logArray[$mycolkey]) && ( is_array($logArray[$mycolkey]) || (is_string($logArray[$mycolkey]) && strlen($logArray[$mycolkey]) > 0)) || (is_numeric($logArray[$mycolkey])) )
|
if ( isset($logArray[$mycolkey]) && ( is_array($logArray[$mycolkey]) || (is_string($logArray[$mycolkey]) && strlen($logArray[$mycolkey]) > 0)) || (is_numeric($logArray[$mycolkey])) )
|
||||||
{
|
{
|
||||||
$content['fields'][$mycolkey]['fieldenabled'] = true;
|
$content['fields'][$mycolkey]['fieldenabled'] = true;
|
||||||
|
|
||||||
// // Default copy value into array!
|
// // Default copy value into array!
|
||||||
// $content['fields'][$mycolkey]['FieldValue'] = $logArray[$mycolkey];
|
// $content['fields'][$mycolkey]['FieldValue'] = $logArray[$mycolkey];
|
||||||
|
|
||||||
// --- Set CSS Class
|
// --- Set CSS Class
|
||||||
if ( $counter % 2 == 0 )
|
if ( $counter % 2 == 0 )
|
||||||
$content['fields'][$mycolkey]['cssclass'] = "line1";
|
$content['fields'][$mycolkey]['cssclass'] = "line1";
|
||||||
else
|
else
|
||||||
$content['fields'][$mycolkey]['cssclass'] = "line2";
|
$content['fields'][$mycolkey]['cssclass'] = "line2";
|
||||||
|
|
||||||
if ( $mycolkey == SYSLOG_MESSAGE)
|
if ( $mycolkey == SYSLOG_MESSAGE )
|
||||||
$content['fields'][$mycolkey]['menucssclass'] = "cellmenu1_naked";
|
$content['fields'][$mycolkey]['menucssclass'] = "cellmenu1_naked";
|
||||||
else
|
else
|
||||||
$content['fields'][$mycolkey]['menucssclass'] = "cellmenu1";
|
$content['fields'][$mycolkey]['menucssclass'] = "cellmenu1";
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// Set defaults
|
// Set defaults
|
||||||
$content['fields'][$mycolkey]['fieldbgcolor'] = "";
|
$content['fields'][$mycolkey]['fieldbgcolor'] = "";
|
||||||
$content['fields'][$mycolkey]['hasdetails'] = "false";
|
$content['fields'][$mycolkey]['hasdetails'] = "false";
|
||||||
|
|
||||||
if ( $content['fields'][$mycolkey]['FieldType'] == FILTER_TYPE_DATE )
|
if ( $content['fields'][$mycolkey]['FieldType'] == FILTER_TYPE_DATE )
|
||||||
{
|
{
|
||||||
$content['fields'][$mycolkey]['fieldvalue'] = GetFormatedDate($logArray[$mycolkey]);
|
$content['fields'][$mycolkey]['fieldvalue'] = GetFormatedDate($logArray[$mycolkey]);
|
||||||
// TODO: Show more!
|
// TODO: Show more!
|
||||||
}
|
}
|
||||||
else if ( $content['fields'][$mycolkey]['FieldType'] == FILTER_TYPE_NUMBER )
|
else if ( $content['fields'][$mycolkey]['FieldType'] == FILTER_TYPE_NUMBER )
|
||||||
{
|
{
|
||||||
$content['fields'][$mycolkey]['fieldvalue'] = $logArray[$mycolkey];
|
$content['fields'][$mycolkey]['fieldvalue'] = $logArray[$mycolkey];
|
||||||
|
|
||||||
// Special style classes and colours for SYSLOG_FACILITY
|
// Special style classes and colours for SYSLOG_FACILITY
|
||||||
if ( $mycolkey == SYSLOG_FACILITY )
|
if ( $mycolkey == SYSLOG_FACILITY )
|
||||||
{
|
{
|
||||||
// if ( isset($logArray[$mycolkey][SYSLOG_FACILITY]) && strlen($logArray[$mycolkey][SYSLOG_FACILITY]) > 0)
|
// if ( isset($logArray[$mycolkey][SYSLOG_FACILITY]) && strlen($logArray[$mycolkey][SYSLOG_FACILITY]) > 0)
|
||||||
if ( isset($logArray[$mycolkey]) && is_numeric($logArray[$mycolkey]) )
|
if ( isset($logArray[$mycolkey]) && is_numeric($logArray[$mycolkey]) )
|
||||||
{
|
{
|
||||||
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $facility_colors[ $logArray[SYSLOG_FACILITY] ] . '" ';
|
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $facility_colors[ $logArray[SYSLOG_FACILITY] ] . '" ';
|
||||||
$content['fields'][$mycolkey]['cssclass'] = "lineColouredBlack";
|
$content['fields'][$mycolkey]['cssclass'] = "lineColouredBlack";
|
||||||
|
|
||||||
// Set Human readable Facility!
|
// Set Human readable Facility!
|
||||||
$content['fields'][$mycolkey]['fieldvalue'] = GetFacilityDisplayName( $logArray[$mycolkey] );
|
$content['fields'][$mycolkey]['fieldvalue'] = GetFacilityDisplayName( $logArray[$mycolkey] );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Use default colour!
|
// Use default colour!
|
||||||
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $facility_colors[SYSLOG_LOCAL0] . '" ';
|
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $facility_colors[SYSLOG_LOCAL0] . '" ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( $mycolkey == SYSLOG_SEVERITY )
|
else if ( $mycolkey == SYSLOG_SEVERITY )
|
||||||
{
|
{
|
||||||
// if ( isset($logArray[$mycolkey][SYSLOG_SEVERITY]) && strlen($logArray[$mycolkey][SYSLOG_SEVERITY]) > 0)
|
// if ( isset($logArray[$mycolkey][SYSLOG_SEVERITY]) && strlen($logArray[$mycolkey][SYSLOG_SEVERITY]) > 0)
|
||||||
if ( isset($logArray[$mycolkey]) && is_numeric($logArray[$mycolkey]) )
|
if ( isset($logArray[$mycolkey]) && is_numeric($logArray[$mycolkey]) )
|
||||||
{
|
{
|
||||||
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $severity_colors[ $logArray[SYSLOG_SEVERITY] ] . '" ';
|
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $severity_colors[ $logArray[SYSLOG_SEVERITY] ] . '" ';
|
||||||
$content['fields'][$mycolkey]['cssclass'] = "lineColouredWhite";
|
$content['fields'][$mycolkey]['cssclass'] = "lineColouredWhite";
|
||||||
|
|
||||||
// Set Human readable Facility!
|
// Set Human readable Facility!
|
||||||
$content['fields'][$mycolkey]['fieldvalue'] = GetSeverityDisplayName( $logArray[$mycolkey] );
|
$content['fields'][$mycolkey]['fieldvalue'] = GetSeverityDisplayName( $logArray[$mycolkey] );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Use default colour!
|
// Use default colour!
|
||||||
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $severity_colors[SYSLOG_INFO] . '" ';
|
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $severity_colors[SYSLOG_INFO] . '" ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( $mycolkey == SYSLOG_MESSAGETYPE )
|
else if ( $mycolkey == SYSLOG_MESSAGETYPE )
|
||||||
{
|
{
|
||||||
// if ( isset($logArray[$mycolkey][SYSLOG_MESSAGETYPE]) )
|
// if ( isset($logArray[$mycolkey][SYSLOG_MESSAGETYPE]) )
|
||||||
if ( isset($logArray[$mycolkey]) && is_numeric($logArray[$mycolkey]) )
|
if ( isset($logArray[$mycolkey]) && is_numeric($logArray[$mycolkey]) )
|
||||||
{
|
{
|
||||||
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $msgtype_colors[ $logArray[SYSLOG_MESSAGETYPE] ] . '" ';
|
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $msgtype_colors[ $logArray[SYSLOG_MESSAGETYPE] ] . '" ';
|
||||||
$content['fields'][$mycolkey]['cssclass'] = "lineColouredBlack";
|
$content['fields'][$mycolkey]['cssclass'] = "lineColouredBlack";
|
||||||
|
|
||||||
// Set Human readable Facility!
|
// Set Human readable Facility!
|
||||||
$content['fields'][$mycolkey]['fieldvalue'] = GetMessageTypeDisplayName( $logArray[$mycolkey] );
|
$content['fields'][$mycolkey]['fieldvalue'] = GetMessageTypeDisplayName( $logArray[$mycolkey] );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Use default colour!
|
// Use default colour!
|
||||||
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $msgtype_colors[IUT_Unknown] . '" ';
|
$content['fields'][$mycolkey]['fieldbgcolor'] = 'bgcolor="' . $msgtype_colors[IUT_Unknown] . '" ';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( $content['fields'][$mycolkey]['FieldType'] == FILTER_TYPE_STRING )
|
else if ( $content['fields'][$mycolkey]['FieldType'] == FILTER_TYPE_STRING )
|
||||||
{
|
{
|
||||||
if ( $mycolkey == SYSLOG_MESSAGE )
|
if ( $mycolkey == SYSLOG_MESSAGE )
|
||||||
$content['fields'][$mycolkey]['fieldvalue'] = ReplaceLineBreaksInString( GetStringWithHTMLCodes($logArray[$mycolkey]) );
|
$content['fields'][$mycolkey]['fieldvalue'] = ReplaceLineBreaksInString( GetStringWithHTMLCodes($logArray[$mycolkey]) );
|
||||||
else // kindly copy!
|
else // kindly copy!
|
||||||
$content['fields'][$mycolkey]['fieldvalue'] = ReplaceLineBreaksInString( $logArray[$mycolkey] );
|
$content['fields'][$mycolkey]['fieldvalue'] = ReplaceLineBreaksInString( $logArray[$mycolkey] );
|
||||||
|
|
||||||
// --- HOOK here to add context links!
|
// --- HOOK here to add context links!
|
||||||
AddContextLinks($content['fields'][$mycolkey]['fieldvalue']);
|
AddContextLinks($content['fields'][$mycolkey]['fieldvalue']);
|
||||||
// ---
|
// ---
|
||||||
}
|
}
|
||||||
|
|
||||||
// Increment helpcounter
|
// Increment helpcounter
|
||||||
$counter++;
|
$counter++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$content['fields'][$mycolkey]['fieldenabled'] = false;
|
$content['fields'][$mycolkey]['fieldenabled'] = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//print_r ( $content['fields'] );
|
// --- Now Check for dynamic fields!
|
||||||
//exit;
|
$counter = 0;
|
||||||
|
foreach($logArray as $mydynkey => $mydynvalue)
|
||||||
// Enable pager if the count is above 1 or we don't know the record count!
|
{
|
||||||
if ( $content['main_recordcount'] > 1 || $content['main_recordcount'] == -1 )
|
// Check if field is already in fields array
|
||||||
{
|
if ( !isset($content['fields'][$mydynkey]) && isset($mydynvalue) && strlen($mydynvalue) > 0 )
|
||||||
// Enable Pager in any case here!
|
{
|
||||||
$content['main_pagerenabled'] = true;
|
$content['dynamicfields'][$mydynkey]['dynfieldkey'] = $mydynkey;
|
||||||
|
$content['dynamicfields'][$mydynkey]['dynfieldvalue'] = $mydynvalue;
|
||||||
// --- Handle uid_first page button
|
|
||||||
if ( $content['uid_fromgetrequest'] == $content['uid_first'] && $content['read_direction'] != EnumReadDirection::Forward )
|
// --- Set CSS Class
|
||||||
$content['main_pager_first_found'] = false;
|
if ( $counter % 2 == 0 )
|
||||||
else
|
$content['dynamicfields'][$mydynkey]['dyncssclass'] = "line1";
|
||||||
{
|
else
|
||||||
// Probe next item !
|
$content['dynamicfields'][$mydynkey]['dyncssclass'] = "line2";
|
||||||
$ret = $stream->ReadNext($uID, $tmpArray);
|
// ---
|
||||||
|
|
||||||
if ( $content['read_direction'] == EnumReadDirection::Backward )
|
// Increment helpcounter
|
||||||
{
|
$counter++;
|
||||||
if ( $content['uid_fromgetrequest'] != UID_UNKNOWN )
|
}
|
||||||
$content['main_pager_first_found'] = true;
|
}
|
||||||
else
|
// Enable dynamic Fields
|
||||||
$content['main_pager_first_found'] = false;
|
if ( isset($content['dynamicfields']) )
|
||||||
}
|
$content['dynamicfieldsenabled'] = "true";
|
||||||
else
|
// ---
|
||||||
{
|
|
||||||
if ( $ret == SUCCESS && $uID != $content['uid_fromgetrequest'])
|
// echo "<pre>";
|
||||||
$content['main_pager_first_found'] = true;
|
// var_dump($content['dynamicfields']);
|
||||||
else
|
// echo "</pre>";
|
||||||
$content['main_pager_first_found'] = false;
|
|
||||||
}
|
// Enable pager if the count is above 1 or we don't know the record count!
|
||||||
}
|
if ( $content['main_recordcount'] > 1 || $content['main_recordcount'] == -1 )
|
||||||
// ---
|
{
|
||||||
|
// Enable Pager in any case here!
|
||||||
// --- Handle uid_last page button
|
$content['main_pagerenabled'] = true;
|
||||||
if ( $content['uid_fromgetrequest'] == $content['uid_last'] && $content['read_direction'] != EnumReadDirection::Backward )
|
|
||||||
$content['main_pager_last_found'] = false;
|
// --- Handle uid_first page button
|
||||||
else
|
if ( $content['uid_fromgetrequest'] == $content['uid_first'] && $content['read_direction'] != EnumReadDirection::Forward )
|
||||||
{
|
$content['main_pager_first_found'] = false;
|
||||||
// Probe next item !
|
else
|
||||||
$ret = $stream->ReadNext($uID, $tmpArray);
|
{
|
||||||
|
// Probe next item !
|
||||||
if ( $content['read_direction'] == EnumReadDirection::Forward )
|
$ret = $stream->ReadNext($uID, $tmpArray);
|
||||||
{
|
|
||||||
if ( $ret != SUCCESS || $uID != $content['uid_current'] )
|
if ( $content['read_direction'] == EnumReadDirection::Backward )
|
||||||
$content['main_pager_last_found'] = true;
|
{
|
||||||
else
|
if ( $content['uid_fromgetrequest'] != UID_UNKNOWN )
|
||||||
$content['main_pager_last_found'] = false;
|
$content['main_pager_first_found'] = true;
|
||||||
}
|
else
|
||||||
else
|
$content['main_pager_first_found'] = false;
|
||||||
{
|
}
|
||||||
if ( $ret == SUCCESS && $uID != $content['uid_current'] )
|
else
|
||||||
$content['main_pager_last_found'] = true;
|
{
|
||||||
else
|
if ( $ret == SUCCESS && $uID != $content['uid_fromgetrequest'])
|
||||||
$content['main_pager_last_found'] = false;
|
$content['main_pager_first_found'] = true;
|
||||||
}
|
else
|
||||||
}
|
$content['main_pager_first_found'] = false;
|
||||||
// ---
|
}
|
||||||
|
}
|
||||||
// --- Handle uid_last page button
|
// ---
|
||||||
// Option the last UID from the stream!
|
|
||||||
// $content['uid_last'] = $stream->GetLastPageUID();
|
// --- Handle uid_last page button
|
||||||
// $content['uid_first'] = $stream->GetFirstPageUID();
|
if ( $content['uid_fromgetrequest'] == $content['uid_last'] && $content['read_direction'] != EnumReadDirection::Backward )
|
||||||
|
$content['main_pager_last_found'] = false;
|
||||||
// --- Handle uid_first and uid_previousbutton
|
else
|
||||||
if ( $content['uid_current'] == $content['uid_first'] || !$content['main_pager_first_found'] )
|
{
|
||||||
{
|
// Probe next item !
|
||||||
$content['main_pager_first_found'] = false;
|
$ret = $stream->ReadNext($uID, $tmpArray);
|
||||||
$content['main_pager_previous_found'] = false;
|
|
||||||
}
|
if ( $content['read_direction'] == EnumReadDirection::Forward )
|
||||||
else
|
{
|
||||||
{
|
if ( $ret != SUCCESS || $uID != $content['uid_current'] )
|
||||||
$content['main_pager_first_found'] = true;
|
$content['main_pager_last_found'] = true;
|
||||||
$content['main_pager_previous_found'] = true;
|
else
|
||||||
}
|
$content['main_pager_last_found'] = false;
|
||||||
// ---
|
}
|
||||||
|
else
|
||||||
// --- Handle uid_next and uid_last button
|
{
|
||||||
if ( /*$content['uid_current'] == $content['uid_last'] ||*/ !$content['main_pager_last_found'] )
|
if ( $ret == SUCCESS && $uID != $content['uid_current'] )
|
||||||
{
|
$content['main_pager_last_found'] = true;
|
||||||
$content['main_pager_next_found'] = false;
|
else
|
||||||
$content['main_pager_last_found'] = false;
|
$content['main_pager_last_found'] = false;
|
||||||
}
|
}
|
||||||
else
|
}
|
||||||
{
|
// ---
|
||||||
$content['main_pager_next_found'] = true;
|
|
||||||
$content['main_pager_last_found'] = true;
|
// --- Handle uid_last page button
|
||||||
}
|
// Option the last UID from the stream!
|
||||||
// ---
|
// $content['uid_last'] = $stream->GetLastPageUID();
|
||||||
}
|
// $content['uid_first'] = $stream->GetFirstPageUID();
|
||||||
else // Disable pager in this case!
|
|
||||||
$content['main_pagerenabled'] = false;
|
// --- Handle uid_first and uid_previousbutton
|
||||||
|
if ( $content['uid_current'] == $content['uid_first'] || !$content['main_pager_first_found'] )
|
||||||
// This will enable to Main SyslogView
|
{
|
||||||
$content['messageenabled'] = "true";
|
$content['main_pager_first_found'] = false;
|
||||||
}
|
$content['main_pager_previous_found'] = false;
|
||||||
else
|
}
|
||||||
{
|
else
|
||||||
// Disable view and print error state!
|
{
|
||||||
$content['messageenabled'] = "false";
|
$content['main_pager_first_found'] = true;
|
||||||
|
$content['main_pager_previous_found'] = true;
|
||||||
// Set error code
|
}
|
||||||
$content['error_code'] = $ret;
|
// ---
|
||||||
|
|
||||||
|
// --- Handle uid_next and uid_last button
|
||||||
if ( $ret == ERROR_UNDEFINED )
|
if ( /*$content['uid_current'] == $content['uid_last'] ||*/ !$content['main_pager_last_found'] )
|
||||||
$content['detailederror'] = "Undefined error happened within the logstream.";
|
{
|
||||||
else
|
$content['main_pager_next_found'] = false;
|
||||||
$content['detailederror'] = "Unknown or unhandeled error occured.";
|
$content['main_pager_last_found'] = false;
|
||||||
// Add extra error stuff
|
}
|
||||||
if ( isset($extraErrorDescription) )
|
else
|
||||||
$content['detailederror'] .= "<br><br>" . GetAndReplaceLangStr( $content['LN_SOURCES_ERROR_EXTRAMSG'], $extraErrorDescription);
|
{
|
||||||
|
$content['main_pager_next_found'] = true;
|
||||||
}
|
$content['main_pager_last_found'] = true;
|
||||||
}
|
}
|
||||||
else
|
// ---
|
||||||
{
|
}
|
||||||
// This will disable to Main SyslogView and show an error message
|
else // Disable pager in this case!
|
||||||
$content['messageenabled'] = "false";
|
$content['main_pagerenabled'] = false;
|
||||||
|
|
||||||
// Set error code
|
// This will enable to Main SyslogView
|
||||||
$content['error_code'] = $ret;
|
$content['messageenabled'] = "true";
|
||||||
|
}
|
||||||
if ( $ret == ERROR_FILE_NOT_FOUND )
|
else
|
||||||
$content['detailederror'] = $content['LN_ERROR_FILE_NOT_FOUND'];
|
{
|
||||||
else if ( $ret == ERROR_FILE_NOT_READABLE )
|
// Disable view and print error state!
|
||||||
$content['detailederror'] = $content['LN_ERROR_FILE_NOT_READABLE'];
|
$content['messageenabled'] = "false";
|
||||||
else
|
|
||||||
$content['detailederror'] = $content['LN_ERROR_UNKNOWN'];
|
// Set error code
|
||||||
}
|
$content['error_code'] = $ret;
|
||||||
|
|
||||||
// Close file!
|
|
||||||
$stream->Close();
|
if ( $ret == ERROR_UNDEFINED )
|
||||||
}
|
$content['detailederror'] = "Undefined error happened within the logstream.";
|
||||||
// ---
|
else
|
||||||
|
$content['detailederror'] = "Unknown or unhandeled error occured.";
|
||||||
// --- BEGIN CREATE TITLE
|
// Add extra error stuff
|
||||||
$content['TITLE'] = InitPageTitle();
|
if ( isset($extraErrorDescription) )
|
||||||
|
$content['detailederror'] .= "<br><br>" . GetAndReplaceLangStr( $content['LN_SOURCES_ERROR_EXTRAMSG'], $extraErrorDescription);
|
||||||
if ( $content['messageenabled'] == "true" )
|
|
||||||
{
|
}
|
||||||
// Append custom title part!
|
}
|
||||||
$content['TITLE'] .= " :: Details for '" . $content['uid_current'] . "'";
|
else
|
||||||
}
|
{
|
||||||
else
|
// This will disable to Main SyslogView and show an error message
|
||||||
{
|
$content['messageenabled'] = "false";
|
||||||
// APpend to title Page title
|
|
||||||
$content['TITLE'] .= " :: Unknown uid";
|
// Set error code
|
||||||
}
|
$content['error_code'] = $ret;
|
||||||
// --- END CREATE TITLE
|
|
||||||
|
if ( $ret == ERROR_FILE_NOT_FOUND )
|
||||||
|
$content['detailederror'] = $content['LN_ERROR_FILE_NOT_FOUND'];
|
||||||
// --- Parsen and Output
|
else if ( $ret == ERROR_FILE_NOT_READABLE )
|
||||||
InitTemplateParser();
|
$content['detailederror'] = $content['LN_ERROR_FILE_NOT_READABLE'];
|
||||||
$page -> parser($content, "details.html");
|
else
|
||||||
$page -> output();
|
$content['detailederror'] = $content['LN_ERROR_UNKNOWN'];
|
||||||
// ---
|
}
|
||||||
|
|
||||||
|
// Close file!
|
||||||
|
$stream->Close();
|
||||||
|
}
|
||||||
|
// ---
|
||||||
|
|
||||||
|
// --- BEGIN CREATE TITLE
|
||||||
|
$content['TITLE'] = InitPageTitle();
|
||||||
|
|
||||||
|
if ( $content['messageenabled'] == "true" )
|
||||||
|
{
|
||||||
|
// Append custom title part!
|
||||||
|
$content['TITLE'] .= " :: Details for '" . $content['uid_current'] . "'";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// APpend to title Page title
|
||||||
|
$content['TITLE'] .= " :: Unknown uid";
|
||||||
|
}
|
||||||
|
// --- END CREATE TITLE
|
||||||
|
|
||||||
|
|
||||||
|
// --- Parsen and Output
|
||||||
|
InitTemplateParser();
|
||||||
|
$page -> parser($content, "details.html");
|
||||||
|
$page -> output();
|
||||||
|
// ---
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
@ -1,406 +1,407 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
*********************************************************************
|
*********************************************************************
|
||||||
* LogAnalyzer - http://loganalyzer.adiscon.com
|
* LogAnalyzer - http://loganalyzer.adiscon.com
|
||||||
* ----------------------------------------------------------------- *
|
* ----------------------------------------------------------------- *
|
||||||
* Some constants *
|
* Some constants *
|
||||||
* *
|
* *
|
||||||
* -> Stuff which has to be static and predefined *
|
* -> Stuff which has to be static and predefined *
|
||||||
* *
|
* *
|
||||||
* All directives are explained within this file *
|
* All directives are explained within this file *
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2010 Adiscon GmbH.
|
* Copyright (C) 2008-2010 Adiscon GmbH.
|
||||||
*
|
*
|
||||||
* This file is part of LogAnalyzer.
|
* This file is part of LogAnalyzer.
|
||||||
*
|
*
|
||||||
* LogAnalyzer is free software: you can redistribute it and/or modify
|
* LogAnalyzer is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* LogAnalyzer is distributed in the hope that it will be useful,
|
* LogAnalyzer is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with LogAnalyzer. If not, see <http://www.gnu.org/licenses/>.
|
* along with LogAnalyzer. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
* A copy of the GPL can be found in the file "COPYING" in this
|
* A copy of the GPL can be found in the file "COPYING" in this
|
||||||
* distribution.
|
* distribution.
|
||||||
*
|
*
|
||||||
* Adiscon LogAnalyzer is also available under a commercial license.
|
* Adiscon LogAnalyzer is also available under a commercial license.
|
||||||
* For details, contact info@adiscon.com or visit
|
* For details, contact info@adiscon.com or visit
|
||||||
* http://loganalyzer.adiscon.com/commercial
|
* http://loganalyzer.adiscon.com/commercial
|
||||||
*********************************************************************
|
*********************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// --- Avoid directly accessing this file!
|
// --- Avoid directly accessing this file!
|
||||||
if ( !defined('IN_PHPLOGCON') )
|
if ( !defined('IN_PHPLOGCON') )
|
||||||
{
|
{
|
||||||
die('Hacking attempt');
|
die('Hacking attempt');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// --- Define properties names of all know fields
|
// --- Define properties names of all know fields
|
||||||
define('SYSLOG_UID', 'uID');
|
define('SYSLOG_UID', 'uID');
|
||||||
define('SYSLOG_DATE', 'timereported');
|
define('SYSLOG_DATE', 'timereported');
|
||||||
define('SYSLOG_HOST', 'FROMHOST');
|
define('SYSLOG_HOST', 'FROMHOST');
|
||||||
define('SYSLOG_MESSAGETYPE', 'IUT');
|
define('SYSLOG_MESSAGETYPE', 'IUT');
|
||||||
define('SYSLOG_MESSAGE', 'msg');
|
define('SYSLOG_MESSAGE', 'msg');
|
||||||
|
|
||||||
// Syslog specific
|
// Syslog specific
|
||||||
define('SYSLOG_FACILITY', 'syslogfacility');
|
define('SYSLOG_FACILITY', 'syslogfacility');
|
||||||
define('SYSLOG_SEVERITY', 'syslogseverity');
|
define('SYSLOG_SEVERITY', 'syslogseverity');
|
||||||
define('SYSLOG_SYSLOGTAG', 'syslogtag');
|
define('SYSLOG_SYSLOGTAG', 'syslogtag');
|
||||||
define('SYSLOG_PROCESSID', 'procid');
|
define('SYSLOG_PROCESSID', 'procid');
|
||||||
|
|
||||||
// EventLog specific
|
// EventLog specific
|
||||||
define('SYSLOG_EVENT_ID', 'id');
|
define('SYSLOG_EVENT_ID', 'id');
|
||||||
define('SYSLOG_EVENT_LOGTYPE', 'NTEventLogType');
|
define('SYSLOG_EVENT_LOGTYPE', 'NTEventLogType');
|
||||||
define('SYSLOG_EVENT_SOURCE', 'sourceproc');
|
define('SYSLOG_EVENT_SOURCE', 'sourceproc');
|
||||||
define('SYSLOG_EVENT_CATEGORY', 'category');
|
define('SYSLOG_EVENT_CATEGORY', 'category');
|
||||||
define('SYSLOG_EVENT_USER', 'user');
|
define('SYSLOG_EVENT_USER', 'user');
|
||||||
|
|
||||||
// Weblog specific
|
// Weblog specific
|
||||||
define('SYSLOG_WEBLOG_USER', 'http_user');
|
define('SYSLOG_WEBLOG_USER', 'http_user');
|
||||||
define('SYSLOG_WEBLOG_METHOD', 'http_method');
|
define('SYSLOG_WEBLOG_METHOD', 'http_method');
|
||||||
define('SYSLOG_WEBLOG_URL', 'http_url');
|
define('SYSLOG_WEBLOG_URL', 'http_url');
|
||||||
define('SYSLOG_WEBLOG_QUERYSTRING', 'http_querystring');
|
define('SYSLOG_WEBLOG_QUERYSTRING', 'http_querystring');
|
||||||
define('SYSLOG_WEBLOG_PVER', 'http_ver');
|
define('SYSLOG_WEBLOG_PVER', 'http_ver');
|
||||||
define('SYSLOG_WEBLOG_STATUS', 'http_status');
|
define('SYSLOG_WEBLOG_STATUS', 'http_status');
|
||||||
define('SYSLOG_WEBLOG_BYTESSEND', 'http_bytessend');
|
define('SYSLOG_WEBLOG_BYTESSEND', 'http_bytessend');
|
||||||
define('SYSLOG_WEBLOG_REFERER', 'http_referer');
|
define('SYSLOG_WEBLOG_REFERER', 'http_referer');
|
||||||
define('SYSLOG_WEBLOG_USERAGENT', 'http_useragent');
|
define('SYSLOG_WEBLOG_USERAGENT', 'http_useragent');
|
||||||
|
|
||||||
// Other fields
|
// Other fields
|
||||||
define('MISC_SYSTEMID', 'misc_systenid');
|
define('MISC_SYSTEMID', 'misc_systenid');
|
||||||
define('MISC_CHECKSUM', 'misc_checksum');
|
define('MISC_CHECKSUM', 'misc_checksum');
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// Define possible FIELD Types
|
// Define possible FIELD Types
|
||||||
define('FILTER_TYPE_STRING', 0);
|
define('FILTER_TYPE_STRING', 0);
|
||||||
define('FILTER_TYPE_NUMBER', 1);
|
define('FILTER_TYPE_NUMBER', 1);
|
||||||
define('FILTER_TYPE_DATE', 2);
|
define('FILTER_TYPE_DATE', 2);
|
||||||
define('FILTER_TYPE_BOOL', 3);
|
define('FILTER_TYPE_BOOL', 3);
|
||||||
define('FILTER_TYPE_UNKNOWN', 99);
|
define('FILTER_TYPE_UNKNOWN', 99);
|
||||||
|
|
||||||
// Define possible alignments
|
// Define possible alignments
|
||||||
define('ALIGN_CENTER', 'center');
|
define('ALIGN_CENTER', 'center');
|
||||||
define('ALIGN_LEFT', 'left');
|
define('ALIGN_LEFT', 'left');
|
||||||
define('ALIGN_RIGHT', 'right');
|
define('ALIGN_RIGHT', 'right');
|
||||||
|
|
||||||
// Defines for Report output types
|
// Defines for Report output types
|
||||||
define('REPORT_OUTPUT_HTML', 'html');
|
define('REPORT_OUTPUT_HTML', 'html');
|
||||||
define('REPORT_OUTPUT_PDF', 'pdf');
|
define('REPORT_OUTPUT_PDF', 'pdf');
|
||||||
|
|
||||||
// Defines for Report output targets
|
// Defines for Report output targets
|
||||||
define('REPORT_TARGET_STDOUT', 'stdout');
|
define('REPORT_TARGET_STDOUT', 'stdout');
|
||||||
define('REPORT_TARGET_FILE', 'file');
|
define('REPORT_TARGET_FILE', 'file');
|
||||||
define('REPORT_TARGET_EMAIL', 'mail');
|
define('REPORT_TARGET_EMAIL', 'mail');
|
||||||
|
|
||||||
// Further helper defines for output targets
|
// Further helper defines for output targets
|
||||||
define('REPORT_TARGET_TYPE', 'type');
|
define('REPORT_TARGET_TYPE', 'type');
|
||||||
define('REPORT_TARGET_FILENAME', 'filename');
|
define('REPORT_TARGET_FILENAME', 'filename');
|
||||||
|
|
||||||
// Defines for sorting
|
// Defines for sorting
|
||||||
define('SORTING_ORDER_ASC', 'asc');
|
define('SORTING_ORDER_ASC', 'asc');
|
||||||
define('SORTING_ORDER_DESC', 'desc');
|
define('SORTING_ORDER_DESC', 'desc');
|
||||||
|
|
||||||
// --- Predefine fields array!
|
// --- Predefine fields array!
|
||||||
$fields[SYSLOG_UID]['FieldID'] = SYSLOG_UID;
|
$fields[SYSLOG_UID]['FieldID'] = SYSLOG_UID;
|
||||||
$fields[SYSLOG_UID]['FieldDefine'] = 'SYSLOG_UID';
|
$fields[SYSLOG_UID]['FieldDefine'] = 'SYSLOG_UID';
|
||||||
$fields[SYSLOG_UID]['FieldCaption'] = 'uID';
|
$fields[SYSLOG_UID]['FieldCaption'] = 'uID';
|
||||||
$fields[SYSLOG_UID]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[SYSLOG_UID]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[SYSLOG_UID]['Sortable'] = false;
|
$fields[SYSLOG_UID]['Sortable'] = false;
|
||||||
$fields[SYSLOG_UID]['DefaultWidth'] = "50";
|
$fields[SYSLOG_UID]['DefaultWidth'] = "50";
|
||||||
$fields[SYSLOG_UID]['FieldAlign'] = "center";
|
$fields[SYSLOG_UID]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_UID]['SearchOnline'] = false;
|
$fields[SYSLOG_UID]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_DATE]['FieldID'] = SYSLOG_DATE;
|
$fields[SYSLOG_DATE]['FieldID'] = SYSLOG_DATE;
|
||||||
$fields[SYSLOG_DATE]['FieldDefine'] = 'SYSLOG_DATE';
|
$fields[SYSLOG_DATE]['FieldDefine'] = 'SYSLOG_DATE';
|
||||||
$fields[SYSLOG_DATE]['FieldCaption'] = 'Date';
|
$fields[SYSLOG_DATE]['FieldCaption'] = 'Date';
|
||||||
$fields[SYSLOG_DATE]['FieldType'] = FILTER_TYPE_DATE;
|
$fields[SYSLOG_DATE]['FieldType'] = FILTER_TYPE_DATE;
|
||||||
$fields[SYSLOG_DATE]['Sortable'] = true;
|
$fields[SYSLOG_DATE]['Sortable'] = true;
|
||||||
$fields[SYSLOG_DATE]['DefaultWidth'] = "115";
|
$fields[SYSLOG_DATE]['DefaultWidth'] = "115";
|
||||||
$fields[SYSLOG_DATE]['FieldAlign'] = "center";
|
$fields[SYSLOG_DATE]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_DATE]['SearchOnline'] = false;
|
$fields[SYSLOG_DATE]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_HOST]['FieldID'] = SYSLOG_HOST;
|
$fields[SYSLOG_HOST]['FieldID'] = SYSLOG_HOST;
|
||||||
$fields[SYSLOG_HOST]['FieldDefine'] = 'SYSLOG_HOST';
|
$fields[SYSLOG_HOST]['FieldDefine'] = 'SYSLOG_HOST';
|
||||||
$fields[SYSLOG_HOST]['FieldCaption'] = 'Host';
|
$fields[SYSLOG_HOST]['FieldCaption'] = 'Host';
|
||||||
$fields[SYSLOG_HOST]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_HOST]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_HOST]['Sortable'] = true;
|
$fields[SYSLOG_HOST]['Sortable'] = true;
|
||||||
$fields[SYSLOG_HOST]['DefaultWidth'] = "80";
|
$fields[SYSLOG_HOST]['DefaultWidth'] = "80";
|
||||||
$fields[SYSLOG_HOST]['FieldAlign'] = "left";
|
$fields[SYSLOG_HOST]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_HOST]['SearchField'] = "source";
|
$fields[SYSLOG_HOST]['SearchField'] = "source";
|
||||||
$fields[SYSLOG_HOST]['SearchOnline'] = false;
|
$fields[SYSLOG_HOST]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_MESSAGETYPE]['FieldID'] = SYSLOG_MESSAGETYPE;
|
$fields[SYSLOG_MESSAGETYPE]['FieldID'] = SYSLOG_MESSAGETYPE;
|
||||||
$fields[SYSLOG_MESSAGETYPE]['FieldDefine'] = 'SYSLOG_MESSAGETYPE';
|
$fields[SYSLOG_MESSAGETYPE]['FieldDefine'] = 'SYSLOG_MESSAGETYPE';
|
||||||
$fields[SYSLOG_MESSAGETYPE]['FieldCaption'] = 'Messagetype';
|
$fields[SYSLOG_MESSAGETYPE]['FieldCaption'] = 'Messagetype';
|
||||||
$fields[SYSLOG_MESSAGETYPE]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[SYSLOG_MESSAGETYPE]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[SYSLOG_MESSAGETYPE]['Sortable'] = true;
|
$fields[SYSLOG_MESSAGETYPE]['Sortable'] = true;
|
||||||
$fields[SYSLOG_MESSAGETYPE]['DefaultWidth'] = "90";
|
$fields[SYSLOG_MESSAGETYPE]['DefaultWidth'] = "90";
|
||||||
$fields[SYSLOG_MESSAGETYPE]['FieldAlign'] = "center";
|
$fields[SYSLOG_MESSAGETYPE]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_MESSAGETYPE]['SearchField'] = "messagetype";
|
$fields[SYSLOG_MESSAGETYPE]['SearchField'] = "messagetype";
|
||||||
$fields[SYSLOG_MESSAGETYPE]['SearchOnline'] = false;
|
$fields[SYSLOG_MESSAGETYPE]['SearchOnline'] = false;
|
||||||
|
|
||||||
// Syslog specific
|
// Syslog specific
|
||||||
$fields[SYSLOG_FACILITY]['FieldID'] = SYSLOG_FACILITY;
|
$fields[SYSLOG_FACILITY]['FieldID'] = SYSLOG_FACILITY;
|
||||||
$fields[SYSLOG_FACILITY]['FieldDefine'] = 'SYSLOG_FACILITY';
|
$fields[SYSLOG_FACILITY]['FieldDefine'] = 'SYSLOG_FACILITY';
|
||||||
$fields[SYSLOG_FACILITY]['FieldCaption'] = 'Facility';
|
$fields[SYSLOG_FACILITY]['FieldCaption'] = 'Facility';
|
||||||
$fields[SYSLOG_FACILITY]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[SYSLOG_FACILITY]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[SYSLOG_FACILITY]['Sortable'] = true;
|
$fields[SYSLOG_FACILITY]['Sortable'] = true;
|
||||||
$fields[SYSLOG_FACILITY]['DefaultWidth'] = "50";
|
$fields[SYSLOG_FACILITY]['DefaultWidth'] = "50";
|
||||||
$fields[SYSLOG_FACILITY]['FieldAlign'] = "center";
|
$fields[SYSLOG_FACILITY]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_FACILITY]['SearchField'] = "facility";
|
$fields[SYSLOG_FACILITY]['SearchField'] = "facility";
|
||||||
$fields[SYSLOG_FACILITY]['SearchOnline'] = true;
|
$fields[SYSLOG_FACILITY]['SearchOnline'] = true;
|
||||||
$fields[SYSLOG_SEVERITY]['FieldID'] = SYSLOG_SEVERITY;
|
$fields[SYSLOG_SEVERITY]['FieldID'] = SYSLOG_SEVERITY;
|
||||||
$fields[SYSLOG_SEVERITY]['FieldDefine'] = 'SYSLOG_SEVERITY';
|
$fields[SYSLOG_SEVERITY]['FieldDefine'] = 'SYSLOG_SEVERITY';
|
||||||
$fields[SYSLOG_SEVERITY]['FieldCaption'] = 'Severity';
|
$fields[SYSLOG_SEVERITY]['FieldCaption'] = 'Severity';
|
||||||
$fields[SYSLOG_SEVERITY]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[SYSLOG_SEVERITY]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[SYSLOG_SEVERITY]['Sortable'] = true;
|
$fields[SYSLOG_SEVERITY]['Sortable'] = true;
|
||||||
$fields[SYSLOG_SEVERITY]['DefaultWidth'] = "50";
|
$fields[SYSLOG_SEVERITY]['DefaultWidth'] = "50";
|
||||||
$fields[SYSLOG_SEVERITY]['FieldAlign'] = "center";
|
$fields[SYSLOG_SEVERITY]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_SEVERITY]['SearchField'] = "severity";
|
$fields[SYSLOG_SEVERITY]['SearchField'] = "severity";
|
||||||
$fields[SYSLOG_SEVERITY]['SearchOnline'] = true;
|
$fields[SYSLOG_SEVERITY]['SearchOnline'] = true;
|
||||||
$fields[SYSLOG_SYSLOGTAG]['FieldID'] = SYSLOG_SYSLOGTAG;
|
$fields[SYSLOG_SYSLOGTAG]['FieldID'] = SYSLOG_SYSLOGTAG;
|
||||||
$fields[SYSLOG_SYSLOGTAG]['FieldDefine'] = 'SYSLOG_SYSLOGTAG';
|
$fields[SYSLOG_SYSLOGTAG]['FieldDefine'] = 'SYSLOG_SYSLOGTAG';
|
||||||
$fields[SYSLOG_SYSLOGTAG]['FieldCaption'] = 'Syslogtag';
|
$fields[SYSLOG_SYSLOGTAG]['FieldCaption'] = 'Syslogtag';
|
||||||
$fields[SYSLOG_SYSLOGTAG]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_SYSLOGTAG]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_SYSLOGTAG]['Sortable'] = true;
|
$fields[SYSLOG_SYSLOGTAG]['Sortable'] = true;
|
||||||
$fields[SYSLOG_SYSLOGTAG]['DefaultWidth'] = "85";
|
$fields[SYSLOG_SYSLOGTAG]['DefaultWidth'] = "85";
|
||||||
$fields[SYSLOG_SYSLOGTAG]['FieldAlign'] = "left";
|
$fields[SYSLOG_SYSLOGTAG]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_SYSLOGTAG]['SearchField'] = "syslogtag";
|
$fields[SYSLOG_SYSLOGTAG]['SearchField'] = "syslogtag";
|
||||||
$fields[SYSLOG_SYSLOGTAG]['SearchOnline'] = true;
|
$fields[SYSLOG_SYSLOGTAG]['SearchOnline'] = true;
|
||||||
$fields[SYSLOG_PROCESSID]['FieldID'] = SYSLOG_PROCESSID;
|
$fields[SYSLOG_PROCESSID]['FieldID'] = SYSLOG_PROCESSID;
|
||||||
$fields[SYSLOG_PROCESSID]['FieldDefine'] = 'SYSLOG_PROCESSID';
|
$fields[SYSLOG_PROCESSID]['FieldDefine'] = 'SYSLOG_PROCESSID';
|
||||||
$fields[SYSLOG_PROCESSID]['FieldCaption'] = 'ProcessID';
|
$fields[SYSLOG_PROCESSID]['FieldCaption'] = 'ProcessID';
|
||||||
$fields[SYSLOG_PROCESSID]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_PROCESSID]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_PROCESSID]['Sortable'] = true;
|
$fields[SYSLOG_PROCESSID]['Sortable'] = true;
|
||||||
$fields[SYSLOG_PROCESSID]['DefaultWidth'] = "65";
|
$fields[SYSLOG_PROCESSID]['DefaultWidth'] = "65";
|
||||||
$fields[SYSLOG_PROCESSID]['FieldAlign'] = "center";
|
$fields[SYSLOG_PROCESSID]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_PROCESSID]['SearchField'] = "processid";
|
$fields[SYSLOG_PROCESSID]['SearchField'] = "processid";
|
||||||
$fields[SYSLOG_PROCESSID]['SearchOnline'] = false;
|
$fields[SYSLOG_PROCESSID]['SearchOnline'] = false;
|
||||||
|
|
||||||
// EventLog specific
|
// EventLog specific
|
||||||
$fields[SYSLOG_EVENT_ID]['FieldID'] = SYSLOG_EVENT_ID;
|
$fields[SYSLOG_EVENT_ID]['FieldID'] = SYSLOG_EVENT_ID;
|
||||||
$fields[SYSLOG_EVENT_ID]['FieldDefine'] = 'SYSLOG_EVENT_ID';
|
$fields[SYSLOG_EVENT_ID]['FieldDefine'] = 'SYSLOG_EVENT_ID';
|
||||||
$fields[SYSLOG_EVENT_ID]['FieldCaption'] = 'Event ID';
|
$fields[SYSLOG_EVENT_ID]['FieldCaption'] = 'Event ID';
|
||||||
$fields[SYSLOG_EVENT_ID]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[SYSLOG_EVENT_ID]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[SYSLOG_EVENT_ID]['Sortable'] = true;
|
$fields[SYSLOG_EVENT_ID]['Sortable'] = true;
|
||||||
$fields[SYSLOG_EVENT_ID]['DefaultWidth'] = "65";
|
$fields[SYSLOG_EVENT_ID]['DefaultWidth'] = "65";
|
||||||
$fields[SYSLOG_EVENT_ID]['FieldAlign'] = "center";
|
$fields[SYSLOG_EVENT_ID]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_EVENT_ID]['SearchField'] = "eventid";
|
$fields[SYSLOG_EVENT_ID]['SearchField'] = "eventid";
|
||||||
$fields[SYSLOG_EVENT_ID]['SearchOnline'] = true;
|
$fields[SYSLOG_EVENT_ID]['SearchOnline'] = true;
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['FieldID'] = SYSLOG_EVENT_LOGTYPE;
|
$fields[SYSLOG_EVENT_LOGTYPE]['FieldID'] = SYSLOG_EVENT_LOGTYPE;
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['FieldDefine'] = 'SYSLOG_EVENT_LOGTYPE';
|
$fields[SYSLOG_EVENT_LOGTYPE]['FieldDefine'] = 'SYSLOG_EVENT_LOGTYPE';
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['FieldCaption'] = 'Eventlog Type';
|
$fields[SYSLOG_EVENT_LOGTYPE]['FieldCaption'] = 'Eventlog Type';
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_EVENT_LOGTYPE]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['Sortable'] = true;
|
$fields[SYSLOG_EVENT_LOGTYPE]['Sortable'] = true;
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['DefaultWidth'] = "100";
|
$fields[SYSLOG_EVENT_LOGTYPE]['DefaultWidth'] = "100";
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['FieldAlign'] = "left";
|
$fields[SYSLOG_EVENT_LOGTYPE]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['SearchField'] = "eventlogtype";
|
$fields[SYSLOG_EVENT_LOGTYPE]['SearchField'] = "eventlogtype";
|
||||||
$fields[SYSLOG_EVENT_LOGTYPE]['SearchOnline'] = true;
|
$fields[SYSLOG_EVENT_LOGTYPE]['SearchOnline'] = true;
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['FieldID'] = SYSLOG_EVENT_SOURCE;
|
$fields[SYSLOG_EVENT_SOURCE]['FieldID'] = SYSLOG_EVENT_SOURCE;
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['FieldDefine'] = 'SYSLOG_EVENT_SOURCE';
|
$fields[SYSLOG_EVENT_SOURCE]['FieldDefine'] = 'SYSLOG_EVENT_SOURCE';
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['FieldCaption'] = 'Event Source';
|
$fields[SYSLOG_EVENT_SOURCE]['FieldCaption'] = 'Event Source';
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_EVENT_SOURCE]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['Sortable'] = true;
|
$fields[SYSLOG_EVENT_SOURCE]['Sortable'] = true;
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['DefaultWidth'] = "100";
|
$fields[SYSLOG_EVENT_SOURCE]['DefaultWidth'] = "100";
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['FieldAlign'] = "left";
|
$fields[SYSLOG_EVENT_SOURCE]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['SearchField'] = "eventlogsource";
|
$fields[SYSLOG_EVENT_SOURCE]['SearchField'] = "eventlogsource";
|
||||||
$fields[SYSLOG_EVENT_SOURCE]['SearchOnline'] = true;
|
$fields[SYSLOG_EVENT_SOURCE]['SearchOnline'] = true;
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['FieldID'] = SYSLOG_EVENT_CATEGORY;
|
$fields[SYSLOG_EVENT_CATEGORY]['FieldID'] = SYSLOG_EVENT_CATEGORY;
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['FieldDefine'] = 'SYSLOG_EVENT_CATEGORY';
|
$fields[SYSLOG_EVENT_CATEGORY]['FieldDefine'] = 'SYSLOG_EVENT_CATEGORY';
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['FieldCaption'] = 'Event Category';
|
$fields[SYSLOG_EVENT_CATEGORY]['FieldCaption'] = 'Event Category';
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[SYSLOG_EVENT_CATEGORY]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['Sortable'] = true;
|
$fields[SYSLOG_EVENT_CATEGORY]['Sortable'] = true;
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['DefaultWidth'] = "50";
|
$fields[SYSLOG_EVENT_CATEGORY]['DefaultWidth'] = "50";
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['FieldAlign'] = "center";
|
$fields[SYSLOG_EVENT_CATEGORY]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['SearchField'] = "eventcategory";
|
$fields[SYSLOG_EVENT_CATEGORY]['SearchField'] = "eventcategory";
|
||||||
$fields[SYSLOG_EVENT_CATEGORY]['SearchOnline'] = false;
|
$fields[SYSLOG_EVENT_CATEGORY]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_EVENT_USER]['FieldID'] = SYSLOG_EVENT_USER;
|
$fields[SYSLOG_EVENT_USER]['FieldID'] = SYSLOG_EVENT_USER;
|
||||||
$fields[SYSLOG_EVENT_USER]['FieldDefine'] = 'SYSLOG_EVENT_USER';
|
$fields[SYSLOG_EVENT_USER]['FieldDefine'] = 'SYSLOG_EVENT_USER';
|
||||||
$fields[SYSLOG_EVENT_USER]['FieldCaption'] = 'Event User';
|
$fields[SYSLOG_EVENT_USER]['FieldCaption'] = 'Event User';
|
||||||
$fields[SYSLOG_EVENT_USER]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_EVENT_USER]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_EVENT_USER]['Sortable'] = true;
|
$fields[SYSLOG_EVENT_USER]['Sortable'] = true;
|
||||||
$fields[SYSLOG_EVENT_USER]['DefaultWidth'] = "85";
|
$fields[SYSLOG_EVENT_USER]['DefaultWidth'] = "85";
|
||||||
$fields[SYSLOG_EVENT_USER]['FieldAlign'] = "left";
|
$fields[SYSLOG_EVENT_USER]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_EVENT_USER]['SearchField'] = "eventuser";
|
$fields[SYSLOG_EVENT_USER]['SearchField'] = "eventuser";
|
||||||
$fields[SYSLOG_EVENT_USER]['SearchOnline'] = false;
|
$fields[SYSLOG_EVENT_USER]['SearchOnline'] = false;
|
||||||
|
|
||||||
// Weblogfile specific
|
// Weblogfile specific
|
||||||
$fields[SYSLOG_WEBLOG_USER]['FieldID'] = SYSLOG_WEBLOG_USER;
|
$fields[SYSLOG_WEBLOG_USER]['FieldID'] = SYSLOG_WEBLOG_USER;
|
||||||
$fields[SYSLOG_WEBLOG_USER]['FieldDefine'] = 'SYSLOG_WEBLOG_USER';
|
$fields[SYSLOG_WEBLOG_USER]['FieldDefine'] = 'SYSLOG_WEBLOG_USER';
|
||||||
$fields[SYSLOG_WEBLOG_USER]['FieldCaption'] = 'HTTP User';
|
$fields[SYSLOG_WEBLOG_USER]['FieldCaption'] = 'HTTP User';
|
||||||
$fields[SYSLOG_WEBLOG_USER]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_WEBLOG_USER]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_WEBLOG_USER]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_USER]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_USER]['DefaultWidth'] = "75";
|
$fields[SYSLOG_WEBLOG_USER]['DefaultWidth'] = "75";
|
||||||
$fields[SYSLOG_WEBLOG_USER]['FieldAlign'] = "left";
|
$fields[SYSLOG_WEBLOG_USER]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_WEBLOG_USER]['SearchField'] = SYSLOG_WEBLOG_USER;
|
$fields[SYSLOG_WEBLOG_USER]['SearchField'] = SYSLOG_WEBLOG_USER;
|
||||||
$fields[SYSLOG_WEBLOG_USER]['SearchOnline'] = false;
|
$fields[SYSLOG_WEBLOG_USER]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['FieldID'] = SYSLOG_WEBLOG_METHOD;
|
$fields[SYSLOG_WEBLOG_METHOD]['FieldID'] = SYSLOG_WEBLOG_METHOD;
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['FieldDefine'] = 'SYSLOG_WEBLOG_METHOD';
|
$fields[SYSLOG_WEBLOG_METHOD]['FieldDefine'] = 'SYSLOG_WEBLOG_METHOD';
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['FieldCaption'] = 'Method';
|
$fields[SYSLOG_WEBLOG_METHOD]['FieldCaption'] = 'Method';
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_WEBLOG_METHOD]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_METHOD]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['DefaultWidth'] = "50";
|
$fields[SYSLOG_WEBLOG_METHOD]['DefaultWidth'] = "50";
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['FieldAlign'] = "center";
|
$fields[SYSLOG_WEBLOG_METHOD]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['SearchField'] = SYSLOG_WEBLOG_METHOD;
|
$fields[SYSLOG_WEBLOG_METHOD]['SearchField'] = SYSLOG_WEBLOG_METHOD;
|
||||||
$fields[SYSLOG_WEBLOG_METHOD]['SearchOnline'] = false;
|
$fields[SYSLOG_WEBLOG_METHOD]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_URL]['FieldID'] = SYSLOG_WEBLOG_URL;
|
$fields[SYSLOG_WEBLOG_URL]['FieldID'] = SYSLOG_WEBLOG_URL;
|
||||||
$fields[SYSLOG_WEBLOG_URL]['FieldDefine'] = 'SYSLOG_WEBLOG_URL';
|
$fields[SYSLOG_WEBLOG_URL]['FieldDefine'] = 'SYSLOG_WEBLOG_URL';
|
||||||
$fields[SYSLOG_WEBLOG_URL]['FieldCaption'] = 'URL';
|
$fields[SYSLOG_WEBLOG_URL]['FieldCaption'] = 'URL';
|
||||||
$fields[SYSLOG_WEBLOG_URL]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_WEBLOG_URL]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_WEBLOG_URL]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_URL]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_URL]['DefaultWidth'] = "200";
|
$fields[SYSLOG_WEBLOG_URL]['DefaultWidth'] = "200";
|
||||||
$fields[SYSLOG_WEBLOG_URL]['FieldAlign'] = "left";
|
$fields[SYSLOG_WEBLOG_URL]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_WEBLOG_URL]['SearchField'] = SYSLOG_WEBLOG_URL;
|
$fields[SYSLOG_WEBLOG_URL]['SearchField'] = SYSLOG_WEBLOG_URL;
|
||||||
$fields[SYSLOG_WEBLOG_URL]['SearchOnline'] = false;
|
$fields[SYSLOG_WEBLOG_URL]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldID'] = SYSLOG_WEBLOG_QUERYSTRING;
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldID'] = SYSLOG_WEBLOG_QUERYSTRING;
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldDefine'] = 'SYSLOG_WEBLOG_QUERYSTRING';
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldDefine'] = 'SYSLOG_WEBLOG_QUERYSTRING';
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldCaption'] = 'Querystring';
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldCaption'] = 'Querystring';
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['DefaultWidth'] = "200";
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['DefaultWidth'] = "200";
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldAlign'] = "left";
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['SearchField'] = SYSLOG_WEBLOG_QUERYSTRING;
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['SearchField'] = SYSLOG_WEBLOG_QUERYSTRING;
|
||||||
$fields[SYSLOG_WEBLOG_QUERYSTRING]['SearchOnline'] = false;
|
$fields[SYSLOG_WEBLOG_QUERYSTRING]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['FieldID'] = SYSLOG_WEBLOG_PVER;
|
$fields[SYSLOG_WEBLOG_PVER]['FieldID'] = SYSLOG_WEBLOG_PVER;
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['FieldDefine'] = 'SYSLOG_WEBLOG_PVER';
|
$fields[SYSLOG_WEBLOG_PVER]['FieldDefine'] = 'SYSLOG_WEBLOG_PVER';
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['FieldCaption'] = 'Version';
|
$fields[SYSLOG_WEBLOG_PVER]['FieldCaption'] = 'Version';
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_WEBLOG_PVER]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_PVER]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['DefaultWidth'] = "50";
|
$fields[SYSLOG_WEBLOG_PVER]['DefaultWidth'] = "50";
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['FieldAlign'] = "center";
|
$fields[SYSLOG_WEBLOG_PVER]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['SearchField'] = SYSLOG_WEBLOG_PVER;
|
$fields[SYSLOG_WEBLOG_PVER]['SearchField'] = SYSLOG_WEBLOG_PVER;
|
||||||
$fields[SYSLOG_WEBLOG_PVER]['SearchOnline'] = false;
|
$fields[SYSLOG_WEBLOG_PVER]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['FieldID'] = SYSLOG_WEBLOG_STATUS;
|
$fields[SYSLOG_WEBLOG_STATUS]['FieldID'] = SYSLOG_WEBLOG_STATUS;
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['FieldDefine'] = 'SYSLOG_WEBLOG_STATUS';
|
$fields[SYSLOG_WEBLOG_STATUS]['FieldDefine'] = 'SYSLOG_WEBLOG_STATUS';
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['FieldCaption'] = 'Status';
|
$fields[SYSLOG_WEBLOG_STATUS]['FieldCaption'] = 'Status';
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[SYSLOG_WEBLOG_STATUS]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_STATUS]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['DefaultWidth'] = "50";
|
$fields[SYSLOG_WEBLOG_STATUS]['DefaultWidth'] = "50";
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['FieldAlign'] = "center";
|
$fields[SYSLOG_WEBLOG_STATUS]['FieldAlign'] = "center";
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['SearchField'] = SYSLOG_WEBLOG_STATUS;
|
$fields[SYSLOG_WEBLOG_STATUS]['SearchField'] = SYSLOG_WEBLOG_STATUS;
|
||||||
$fields[SYSLOG_WEBLOG_STATUS]['SearchOnline'] = false;
|
$fields[SYSLOG_WEBLOG_STATUS]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldID'] = SYSLOG_WEBLOG_BYTESSEND;
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldID'] = SYSLOG_WEBLOG_BYTESSEND;
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldDefine'] = 'SYSLOG_WEBLOG_BYTESSEND';
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldDefine'] = 'SYSLOG_WEBLOG_BYTESSEND';
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldCaption'] = 'Bytes Send';
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldCaption'] = 'Bytes Send';
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['DefaultWidth'] = "75";
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['DefaultWidth'] = "75";
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldAlign'] = "left";
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['SearchField'] = SYSLOG_WEBLOG_BYTESSEND;
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['SearchField'] = SYSLOG_WEBLOG_BYTESSEND;
|
||||||
$fields[SYSLOG_WEBLOG_BYTESSEND]['SearchOnline'] = false;
|
$fields[SYSLOG_WEBLOG_BYTESSEND]['SearchOnline'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['FieldID'] = SYSLOG_WEBLOG_REFERER;
|
$fields[SYSLOG_WEBLOG_REFERER]['FieldID'] = SYSLOG_WEBLOG_REFERER;
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['FieldDefine'] = 'SYSLOG_WEBLOG_REFERER';
|
$fields[SYSLOG_WEBLOG_REFERER]['FieldDefine'] = 'SYSLOG_WEBLOG_REFERER';
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['FieldCaption'] = 'Referer';
|
$fields[SYSLOG_WEBLOG_REFERER]['FieldCaption'] = 'Referer';
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_WEBLOG_REFERER]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_REFERER]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['DefaultWidth'] = "200";
|
$fields[SYSLOG_WEBLOG_REFERER]['DefaultWidth'] = "200";
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['FieldAlign'] = "left";
|
$fields[SYSLOG_WEBLOG_REFERER]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['SearchField'] = SYSLOG_WEBLOG_REFERER;
|
$fields[SYSLOG_WEBLOG_REFERER]['SearchField'] = SYSLOG_WEBLOG_REFERER;
|
||||||
$fields[SYSLOG_WEBLOG_REFERER]['SearchOnline'] = true;
|
$fields[SYSLOG_WEBLOG_REFERER]['SearchOnline'] = true;
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldID'] = SYSLOG_WEBLOG_USERAGENT;
|
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldID'] = SYSLOG_WEBLOG_USERAGENT;
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldDefine'] = 'SYSLOG_WEBLOG_USERAGENT';
|
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldDefine'] = 'SYSLOG_WEBLOG_USERAGENT';
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldCaption'] = 'User Agent';
|
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldCaption'] = 'User Agent';
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['Sortable'] = false;
|
$fields[SYSLOG_WEBLOG_USERAGENT]['Sortable'] = false;
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['DefaultWidth'] = "100";
|
$fields[SYSLOG_WEBLOG_USERAGENT]['DefaultWidth'] = "100";
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldAlign'] = "left";
|
$fields[SYSLOG_WEBLOG_USERAGENT]['FieldAlign'] = "left";
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['SearchField'] = SYSLOG_WEBLOG_USERAGENT;
|
$fields[SYSLOG_WEBLOG_USERAGENT]['SearchField'] = SYSLOG_WEBLOG_USERAGENT;
|
||||||
$fields[SYSLOG_WEBLOG_USERAGENT]['SearchOnline'] = true;
|
$fields[SYSLOG_WEBLOG_USERAGENT]['SearchOnline'] = true;
|
||||||
|
|
||||||
// Misc fields
|
// Misc fields
|
||||||
$fields[MISC_SYSTEMID]['FieldID'] = MISC_SYSTEMID;
|
$fields[MISC_SYSTEMID]['FieldID'] = MISC_SYSTEMID;
|
||||||
$fields[MISC_SYSTEMID]['FieldDefine'] = 'MISC_SYSTEMID';
|
$fields[MISC_SYSTEMID]['FieldDefine'] = 'MISC_SYSTEMID';
|
||||||
$fields[MISC_SYSTEMID]['FieldCaption'] = 'SystemID';
|
$fields[MISC_SYSTEMID]['FieldCaption'] = 'SystemID';
|
||||||
$fields[MISC_SYSTEMID]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[MISC_SYSTEMID]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[MISC_SYSTEMID]['Sortable'] = false;
|
$fields[MISC_SYSTEMID]['Sortable'] = false;
|
||||||
$fields[MISC_SYSTEMID]['DefaultWidth'] = "50";
|
$fields[MISC_SYSTEMID]['DefaultWidth'] = "50";
|
||||||
$fields[MISC_SYSTEMID]['FieldAlign'] = "center";
|
$fields[MISC_SYSTEMID]['FieldAlign'] = "center";
|
||||||
$fields[MISC_SYSTEMID]['SearchField'] = MISC_SYSTEMID;
|
$fields[MISC_SYSTEMID]['SearchField'] = MISC_SYSTEMID;
|
||||||
$fields[MISC_SYSTEMID]['SearchOnline'] = false;
|
$fields[MISC_SYSTEMID]['SearchOnline'] = false;
|
||||||
$fields[MISC_CHECKSUM]['FieldID'] = MISC_CHECKSUM;
|
$fields[MISC_CHECKSUM]['FieldID'] = MISC_CHECKSUM;
|
||||||
$fields[MISC_CHECKSUM]['FieldDefine'] = 'MISC_CHECKSUM';
|
$fields[MISC_CHECKSUM]['FieldDefine'] = 'MISC_CHECKSUM';
|
||||||
$fields[MISC_CHECKSUM]['FieldCaption'] = 'Checksum';
|
$fields[MISC_CHECKSUM]['FieldCaption'] = 'Checksum';
|
||||||
$fields[MISC_CHECKSUM]['FieldType'] = FILTER_TYPE_NUMBER;
|
$fields[MISC_CHECKSUM]['FieldType'] = FILTER_TYPE_NUMBER;
|
||||||
$fields[MISC_CHECKSUM]['Sortable'] = false;
|
$fields[MISC_CHECKSUM]['Sortable'] = false;
|
||||||
$fields[MISC_CHECKSUM]['DefaultWidth'] = "50";
|
$fields[MISC_CHECKSUM]['DefaultWidth'] = "50";
|
||||||
$fields[MISC_CHECKSUM]['FieldAlign'] = "center";
|
$fields[MISC_CHECKSUM]['FieldAlign'] = "center";
|
||||||
$fields[MISC_CHECKSUM]['SearchField'] = MISC_CHECKSUM;
|
$fields[MISC_CHECKSUM]['SearchField'] = MISC_CHECKSUM;
|
||||||
$fields[MISC_CHECKSUM]['SearchOnline'] = false;
|
$fields[MISC_CHECKSUM]['SearchOnline'] = false;
|
||||||
|
|
||||||
// Message is the last element, this order is important for the Detail page for now!
|
// Message is the last element, this order is important for the Detail page for now!
|
||||||
$fields[SYSLOG_MESSAGE]['FieldID'] = SYSLOG_MESSAGE;
|
$fields[SYSLOG_MESSAGE]['FieldID'] = SYSLOG_MESSAGE;
|
||||||
$fields[SYSLOG_MESSAGE]['FieldDefine'] = 'SYSLOG_MESSAGE';
|
$fields[SYSLOG_MESSAGE]['FieldDefine'] = 'SYSLOG_MESSAGE';
|
||||||
$fields[SYSLOG_MESSAGE]['FieldCaption'] = 'Message';
|
$fields[SYSLOG_MESSAGE]['FieldCaption'] = 'Message';
|
||||||
$fields[SYSLOG_MESSAGE]['FieldType'] = FILTER_TYPE_STRING;
|
$fields[SYSLOG_MESSAGE]['FieldType'] = FILTER_TYPE_STRING;
|
||||||
$fields[SYSLOG_MESSAGE]['Sortable'] = false;
|
$fields[SYSLOG_MESSAGE]['Sortable'] = false;
|
||||||
$fields[SYSLOG_MESSAGE]['DefaultWidth'] = "100%";
|
$fields[SYSLOG_MESSAGE]['DefaultWidth'] = "100%";
|
||||||
$fields[SYSLOG_MESSAGE]['FieldAlign'] = "left";
|
$fields[SYSLOG_MESSAGE]['FieldAlign'] = "left";
|
||||||
// $fields[SYSLOG_MESSAGE]['SearchField'] = "";
|
// $fields[SYSLOG_MESSAGE]['SearchField'] = "";
|
||||||
$fields[SYSLOG_MESSAGE]['SearchField'] = SYSLOG_MESSAGE;
|
$fields[SYSLOG_MESSAGE]['SearchField'] = SYSLOG_MESSAGE;
|
||||||
$fields[SYSLOG_MESSAGE]['SearchOnline'] = false;
|
$fields[SYSLOG_MESSAGE]['SearchOnline'] = false;
|
||||||
// ---
|
// ---
|
||||||
|
|
||||||
// --- Define default Database field mappings!
|
// --- Define default Database field mappings!
|
||||||
$dbmapping['monitorware']['ID'] = "monitorware";
|
$dbmapping['monitorware']['ID'] = "monitorware";
|
||||||
$dbmapping['monitorware']['DisplayName'] = "MonitorWare";
|
$dbmapping['monitorware']['DisplayName'] = "MonitorWare";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_UID] = "ID";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_UID] = "ID";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_DATE] = "DeviceReportedTime";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_DATE] = "DeviceReportedTime";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_HOST] = "FromHost";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_HOST] = "FromHost";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_MESSAGETYPE] = "InfoUnitID";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_MESSAGETYPE] = "InfoUnitID";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_MESSAGE] = "Message";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_MESSAGE] = "Message";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_FACILITY] = "Facility";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_FACILITY] = "Facility";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_SEVERITY] = "Priority";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_SEVERITY] = "Priority";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_SYSLOGTAG] = "SysLogTag";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_SYSLOGTAG] = "SysLogTag";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_PROCESSID] = "ProcessID";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_PROCESSID] = "ProcessID";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_ID] = "EventID";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_ID] = "EventID";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_LOGTYPE] = "EventLogType";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_LOGTYPE] = "EventLogType";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_SOURCE] = "EventSource";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_SOURCE] = "EventSource";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_CATEGORY] = "EventCategory";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_CATEGORY] = "EventCategory";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_USER] = "EventUser";
|
$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_EVENT_USER] = "EventUser";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][MISC_SYSTEMID] = "SystemID";
|
$dbmapping['monitorware']['DBMAPPINGS'][MISC_SYSTEMID] = "SystemID";
|
||||||
$dbmapping['monitorware']['DBMAPPINGS'][MISC_CHECKSUM] = "Checksum";
|
$dbmapping['monitorware']['DBMAPPINGS'][MISC_CHECKSUM] = "Checksum";
|
||||||
//$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_PROCESSID] = "ProcessID";
|
//$dbmapping['monitorware']['DBMAPPINGS'][SYSLOG_PROCESSID] = "ProcessID";
|
||||||
|
|
||||||
$dbmapping['syslogng']['ID'] = "syslogng";
|
$dbmapping['syslogng']['ID'] = "syslogng";
|
||||||
$dbmapping['syslogng']['DisplayName'] = "SyslogNG";
|
$dbmapping['syslogng']['DisplayName'] = "SyslogNG";
|
||||||
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_UID] = "seq";
|
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_UID] = "seq";
|
||||||
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_DATE] = "datetime";
|
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_DATE] = "datetime";
|
||||||
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_HOST] = "host";
|
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_HOST] = "host";
|
||||||
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_MESSAGE] = "msg";
|
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_MESSAGE] = "msg";
|
||||||
//NOT POSSIBLE YET $dbmapping['syslogng'][SYSLOG_FACILITY] = "Facility";
|
//NOT POSSIBLE YET $dbmapping['syslogng'][SYSLOG_FACILITY] = "Facility";
|
||||||
//NOT POSSIBLE YET $dbmapping['syslogng'][SYSLOG_SEVERITY] = "Priority";
|
//NOT POSSIBLE YET $dbmapping['syslogng'][SYSLOG_SEVERITY] = "Priority";
|
||||||
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_SYSLOGTAG] = "tag";
|
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_SYSLOGTAG] = "tag";
|
||||||
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_PROCESSID] = "program";
|
$dbmapping['syslogng']['DBMAPPINGS'][SYSLOG_PROCESSID] = "program";
|
||||||
|
|
||||||
$dbmapping['mongodb']['ID'] = "mongodb";
|
$dbmapping['mongodb']['ID'] = "mongodb";
|
||||||
$dbmapping['mongodb']['DisplayName'] = "MongoDB";
|
$dbmapping['mongodb']['DisplayName'] = "MongoDB";
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_UID] = "_id";
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_UID] = "_id";
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_DATE] = "time";
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_DATE] = "time";
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_HOST] = "sys";
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_HOST] = "sys";
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_MESSAGE] = "msg";
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_MESSAGE] = "msg";
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_FACILITY] = "syslog_fac";
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_FACILITY] = "syslog_fac";
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_SEVERITY] = "syslog_sever";
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_SEVERITY] = "syslog_sever";
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_SYSLOGTAG] = "procid"; // not using syslog_tag because of PID in it
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_SYSLOGTAG] = "procid"; // not using syslog_tag because of PID in it
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_PROCESSID] = "pid";
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_PROCESSID] = "pid";
|
||||||
$dbmapping['mongodb']['DBMAPPINGS'][MISC_CHECKSUM] = "Checksum";
|
$dbmapping['mongodb']['DBMAPPINGS'][MISC_CHECKSUM] = "Checksum";
|
||||||
|
$dbmapping['mongodb']['DBMAPPINGS'][SYSLOG_EVENT_LOGTYPE] = "nteventlogtype";
|
||||||
// Convert all fieldnames to lowercase to avoid problems with case sensitive array keys later
|
|
||||||
foreach( $dbmapping as &$myMapping )
|
// Convert all fieldnames to lowercase to avoid problems with case sensitive array keys later
|
||||||
{
|
foreach( $dbmapping as &$myMapping )
|
||||||
foreach( $myMapping['DBMAPPINGS'] as &$myField )
|
{
|
||||||
$myField = strtolower($myField);
|
foreach( $myMapping['DBMAPPINGS'] as &$myField )
|
||||||
}
|
$myField = strtolower($myField);
|
||||||
|
}
|
||||||
// ---
|
|
||||||
|
// ---
|
||||||
// EventTime Constants
|
|
||||||
define('EVTIME_TIMESTAMP', '0');
|
// EventTime Constants
|
||||||
define('EVTIME_TIMEZONE', '1');
|
define('EVTIME_TIMESTAMP', '0');
|
||||||
define('EVTIME_MICROSECONDS', '2');
|
define('EVTIME_TIMEZONE', '1');
|
||||||
|
define('EVTIME_MICROSECONDS', '2');
|
||||||
|
|
||||||
?>
|
?>
|
@ -1,407 +1,409 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
*********************************************************************
|
*********************************************************************
|
||||||
* LogAnalyzer - http://loganalyzer.adiscon.com
|
* LogAnalyzer - http://loganalyzer.adiscon.com
|
||||||
* -----------------------------------------------------------------
|
* -----------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2010 Adiscon GmbH.
|
* Copyright (C) 2008-2010 Adiscon GmbH.
|
||||||
*
|
*
|
||||||
* This file is part of LogAnalyzer.
|
* This file is part of LogAnalyzer.
|
||||||
*
|
*
|
||||||
* LogAnalyzer is free software: you can redistribute it and/or modify
|
* LogAnalyzer is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* LogAnalyzer is distributed in the hope that it will be useful,
|
* LogAnalyzer is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with LogAnalyzer. If not, see <http://www.gnu.org/licenses/>.
|
* along with LogAnalyzer. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
* A copy of the GPL can be found in the file "COPYING" in this
|
* A copy of the GPL can be found in the file "COPYING" in this
|
||||||
* distribution.
|
* distribution.
|
||||||
*********************************************************************
|
*********************************************************************
|
||||||
*/
|
*/
|
||||||
global $content;
|
global $content;
|
||||||
|
|
||||||
// Global Stuff
|
// Global Stuff
|
||||||
$content['LN_MAINTITLE'] = "Main LogAnalyzer";
|
$content['LN_MAINTITLE'] = "Main LogAnalyzer";
|
||||||
$content['LN_MAIN_SELECTSTYLE'] = "Select a Style";
|
$content['LN_MAIN_SELECTSTYLE'] = "Select a Style";
|
||||||
$content['LN_GEN_LANGUAGE'] = "Select Language";
|
$content['LN_GEN_LANGUAGE'] = "Select Language";
|
||||||
$content['LN_GEN_SELECTSOURCE'] = "Select Source";
|
$content['LN_GEN_SELECTSOURCE'] = "Select Source";
|
||||||
$content['LN_GEN_MOREPAGES'] = "More than one Page available";
|
$content['LN_GEN_MOREPAGES'] = "More than one Page available";
|
||||||
$content['LN_GEN_FIRSTPAGE'] = "First Page";
|
$content['LN_GEN_FIRSTPAGE'] = "First Page";
|
||||||
$content['LN_GEN_LASTPAGE'] = "Last Page";
|
$content['LN_GEN_LASTPAGE'] = "Last Page";
|
||||||
$content['LN_GEN_NEXTPAGE'] = "Next Page";
|
$content['LN_GEN_NEXTPAGE'] = "Next Page";
|
||||||
$content['LN_GEN_PREVIOUSPAGE'] = "Previous Page";
|
$content['LN_GEN_PREVIOUSPAGE'] = "Previous Page";
|
||||||
$content['LN_GEN_RECORDCOUNT'] = "Total records found";
|
$content['LN_GEN_RECORDCOUNT'] = "Total records found";
|
||||||
$content['LN_GEN_PAGERSIZE'] = "Records per page";
|
$content['LN_GEN_PAGERSIZE'] = "Records per page";
|
||||||
$content['LN_GEN_PAGE'] = "Page";
|
$content['LN_GEN_PAGE'] = "Page";
|
||||||
$content['LN_GEN_PREDEFINEDSEARCHES'] = "Predefined Searches";
|
$content['LN_GEN_PREDEFINEDSEARCHES'] = "Predefined Searches";
|
||||||
$content['LN_GEN_SOURCE_DISK'] = "Diskfile";
|
$content['LN_GEN_SOURCE_DISK'] = "Diskfile";
|
||||||
$content['LN_GEN_SOURCE_DB'] = "MYSQL Native";
|
$content['LN_GEN_SOURCE_DB'] = "MYSQL Native";
|
||||||
$content['LN_GEN_SOURCE_PDO'] = "Database (PDO)";
|
$content['LN_GEN_SOURCE_PDO'] = "Database (PDO)";
|
||||||
$content['LN_GEN_SOURCE_MONGODB'] = "MongoDB Native";
|
$content['LN_GEN_SOURCE_MONGODB'] = "MongoDB Native";
|
||||||
$content['LN_GEN_RECORDSPERPAGE'] = "records per page";
|
$content['LN_GEN_RECORDSPERPAGE'] = "records per page";
|
||||||
$content['LN_GEN_PRECONFIGURED'] = "Preconfigured";
|
$content['LN_GEN_PRECONFIGURED'] = "Preconfigured";
|
||||||
$content['LN_GEN_AVAILABLESEARCHES'] = "Available searches";
|
$content['LN_GEN_AVAILABLESEARCHES'] = "Available searches";
|
||||||
$content['LN_GEN_DB_MYSQL'] = "Mysql Server";
|
$content['LN_GEN_DB_MYSQL'] = "Mysql Server";
|
||||||
$content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server";
|
$content['LN_GEN_DB_MSSQL'] = "Microsoft SQL Server";
|
||||||
$content['LN_GEN_DB_ODBC'] = "ODBC Database Source";
|
$content['LN_GEN_DB_ODBC'] = "ODBC Database Source";
|
||||||
$content['LN_GEN_DB_PGSQL'] = "PostgreSQL";
|
$content['LN_GEN_DB_PGSQL'] = "PostgreSQL";
|
||||||
$content['LN_GEN_DB_OCI'] = "Oracle Call Interface";
|
$content['LN_GEN_DB_OCI'] = "Oracle Call Interface";
|
||||||
$content['LN_GEN_DB_DB2'] = " IBM DB2";
|
$content['LN_GEN_DB_DB2'] = " IBM DB2";
|
||||||
$content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6";
|
$content['LN_GEN_DB_FIREBIRD'] = "Firebird/Interbase 6";
|
||||||
$content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server";
|
$content['LN_GEN_DB_INFORMIX'] = "IBM Informix Dynamic Server";
|
||||||
$content['LN_GEN_DB_SQLITE'] = "SQLite 2";
|
$content['LN_GEN_DB_SQLITE'] = "SQLite 2";
|
||||||
$content['LN_GEN_SELECTVIEW'] = "Select View";
|
$content['LN_GEN_SELECTVIEW'] = "Select View";
|
||||||
$content['LN_GEN_CRITERROR_UNKNOWNTYPE'] = "The source type '%1' is not supported by LogAnalyzer yet. This is a critical error, please fix your configuration.";
|
$content['LN_GEN_CRITERROR_UNKNOWNTYPE'] = "The source type '%1' is not supported by LogAnalyzer yet. This is a critical error, please fix your configuration.";
|
||||||
$content['LN_GEN_ERRORRETURNPREV'] = "Click here to return to the previous page.";
|
$content['LN_GEN_ERRORRETURNPREV'] = "Click here to return to the previous page.";
|
||||||
$content['LN_GEN_ERRORDETAILS'] = "Error Details:";
|
$content['LN_GEN_ERRORDETAILS'] = "Error Details:";
|
||||||
$content['LN_SOURCES_ERROR_WITHINSOURCE'] = "The source '%1' checking returned with an error:<br>%2";
|
$content['LN_SOURCES_ERROR_WITHINSOURCE'] = "The source '%1' checking returned with an error:<br>%2";
|
||||||
$content['LN_SOURCES_ERROR_EXTRAMSG'] = "Extra Error Details:<br>%1";
|
$content['LN_SOURCES_ERROR_EXTRAMSG'] = "Extra Error Details:<br>%1";
|
||||||
$content['LN_ERROR_NORECORDS'] = "No syslog records found";
|
$content['LN_ERROR_NORECORDS'] = "No syslog records found";
|
||||||
$content['LN_ERROR_FILE_NOT_FOUND'] = "Syslog file could not be found";
|
$content['LN_ERROR_FILE_NOT_FOUND'] = "Syslog file could not be found";
|
||||||
$content['LN_ERROR_FILE_NOT_READABLE'] = "Syslog file is not readable, read access may be denied";
|
$content['LN_ERROR_FILE_NOT_READABLE'] = "Syslog file is not readable, read access may be denied";
|
||||||
$content['LN_ERROR_UNKNOWN'] = "Unknown or unhandled error occured (Error Code '%1')";
|
$content['LN_ERROR_UNKNOWN'] = "Unknown or unhandled error occured (Error Code '%1')";
|
||||||
$content['LN_ERROR_FILE_EOF'] = "End of File reached";
|
$content['LN_ERROR_FILE_EOF'] = "End of File reached";
|
||||||
$content['LN_ERROR_FILE_BOF'] = "Begin of File reeached";
|
$content['LN_ERROR_FILE_BOF'] = "Begin of File reeached";
|
||||||
$content['LN_ERROR_FILE_CANT_CLOSE'] = "Can't close File";
|
$content['LN_ERROR_FILE_CANT_CLOSE'] = "Can't close File";
|
||||||
$content['LN_ERROR_UNDEFINED'] = "Undefined Error";
|
$content['LN_ERROR_UNDEFINED'] = "Undefined Error";
|
||||||
$content['LN_ERROR_EOS'] = "End of stream reached";
|
$content['LN_ERROR_EOS'] = "End of stream reached";
|
||||||
$content['LN_ERROR_FILTER_NOT_MATCH'] = "Filter does not match any results";
|
$content['LN_ERROR_FILTER_NOT_MATCH'] = "Filter does not match any results";
|
||||||
$content['LN_ERROR_DB_CONNECTFAILED'] = "Connection to the database server failed";
|
$content['LN_ERROR_DB_CONNECTFAILED'] = "Connection to the database server failed";
|
||||||
$content['LN_ERROR_DB_CANNOTSELECTDB'] = "Could not find the configured database";
|
$content['LN_ERROR_DB_CANNOTSELECTDB'] = "Could not find the configured database";
|
||||||
$content['LN_ERROR_DB_QUERYFAILED'] = "Dataquery failed to execute";
|
$content['LN_ERROR_DB_QUERYFAILED'] = "Dataquery failed to execute";
|
||||||
$content['LN_ERROR_DB_NOPROPERTIES'] = "No database properties found";
|
$content['LN_ERROR_DB_NOPROPERTIES'] = "No database properties found";
|
||||||
$content['LN_ERROR_DB_INVALIDDBMAPPING'] = "Invalid datafield mappings";
|
$content['LN_ERROR_DB_INVALIDDBMAPPING'] = "Invalid datafield mappings";
|
||||||
$content['LN_ERROR_DB_INVALIDDBDRIVER'] = "Invalid database driver selected";
|
$content['LN_ERROR_DB_INVALIDDBDRIVER'] = "Invalid database driver selected";
|
||||||
$content['LN_ERROR_DB_TABLENOTFOUND'] = "Could not find the configured table, maybe misspelled or the tablenames are case sensitive";
|
$content['LN_ERROR_DB_TABLENOTFOUND'] = "Could not find the configured table, maybe misspelled or the tablenames are case sensitive";
|
||||||
$content['LN_ERROR_DB_DBFIELDNOTFOUND'] = "Database Field mapping for at least one field could not be found.";
|
$content['LN_ERROR_DB_DBFIELDNOTFOUND'] = "Database Field mapping for at least one field could not be found.";
|
||||||
$content['LN_GEN_SELECTEXPORT'] = "> Select Exportformat <";
|
$content['LN_GEN_SELECTEXPORT'] = "> Select Exportformat <";
|
||||||
$content['LN_GEN_EXPORT_CVS'] = "CSV (Comma separated)";
|
$content['LN_GEN_EXPORT_CVS'] = "CSV (Comma separated)";
|
||||||
$content['LN_GEN_EXPORT_XML'] = "XML";
|
$content['LN_GEN_EXPORT_XML'] = "XML";
|
||||||
$content['LN_GEN_EXPORT_PDF'] = "PDF";
|
$content['LN_GEN_EXPORT_PDF'] = "PDF";
|
||||||
$content['LN_GEN_ERROR_EXPORING'] = "Error exporting data";
|
$content['LN_GEN_ERROR_EXPORING'] = "Error exporting data";
|
||||||
$content['LN_GEN_ERROR_INVALIDEXPORTTYPE'] = "Invalid Export format selected, or other parameters were wrong.";
|
$content['LN_GEN_ERROR_INVALIDEXPORTTYPE'] = "Invalid Export format selected, or other parameters were wrong.";
|
||||||
$content['LN_GEN_ERROR_SOURCENOTFOUND'] = "The Source with ID '%1' could not be found.";
|
$content['LN_GEN_ERROR_SOURCENOTFOUND'] = "The Source with ID '%1' could not be found.";
|
||||||
$content['LN_GEN_MOREINFORMATION'] = "More Information";
|
$content['LN_GEN_MOREINFORMATION'] = "More Information";
|
||||||
$content['LN_FOOTER_PAGERENDERED'] = "Page rendered in";
|
$content['LN_FOOTER_PAGERENDERED'] = "Page rendered in";
|
||||||
$content['LN_FOOTER_DBQUERIES'] = "DB queries";
|
$content['LN_FOOTER_DBQUERIES'] = "DB queries";
|
||||||
$content['LN_FOOTER_GZIPENABLED'] = "GZIP enabled";
|
$content['LN_FOOTER_GZIPENABLED'] = "GZIP enabled";
|
||||||
$content['LN_FOOTER_SCRIPTTIMEOUT'] = "Script Timeout";
|
$content['LN_FOOTER_SCRIPTTIMEOUT'] = "Script Timeout";
|
||||||
$content['LN_FOOTER_SECONDS'] = "seconds";
|
$content['LN_FOOTER_SECONDS'] = "seconds";
|
||||||
$content['LN_WARNING_LOGSTREAMTITLE'] = "Logstream Warning";
|
$content['LN_WARNING_LOGSTREAMTITLE'] = "Logstream Warning";
|
||||||
$content['LN_WARNING_LOGSTREAMDISK_TIMEOUT'] = "While reading the logstream, the php script timeout forced me to abort at this point.<br><br> If you want to avoid this, please increase the LogAnalyzer script timeout in your config.php. If the user system is installed, you can do that in Admin center.";
|
$content['LN_WARNING_LOGSTREAMDISK_TIMEOUT'] = "While reading the logstream, the php script timeout forced me to abort at this point.<br><br> If you want to avoid this, please increase the LogAnalyzer script timeout in your config.php. If the user system is installed, you can do that in Admin center.";
|
||||||
$content['LN_ERROR_FILE_NOMORETIME'] = "No more time for processing left";
|
$content['LN_ERROR_FILE_NOMORETIME'] = "No more time for processing left";
|
||||||
$content['LN_WARNING_DBUPGRADE'] = "Database Upgrade required";
|
$content['LN_WARNING_DBUPGRADE'] = "Database Upgrade required";
|
||||||
$content['LN_WARNING_DBUPGRADE_TEXT'] = "The current installed database version is '%1'.<br>An update to version '%2' is available.";
|
$content['LN_WARNING_DBUPGRADE_TEXT'] = "The current installed database version is '%1'.<br>An update to version '%2' is available.";
|
||||||
$content['LN_ERROR_REDIRECTABORTED'] = 'Automatic redirect to the <a href="%1">page</a> was aborted, as an internal error occured. Please see the error details above and contact our support forums if you need assistance.';
|
$content['LN_ERROR_REDIRECTABORTED'] = 'Automatic redirect to the <a href="%1">page</a> was aborted, as an internal error occured. Please see the error details above and contact our support forums if you need assistance.';
|
||||||
$content['LN_DEBUGLEVEL'] = "Debug Level";
|
$content['LN_DEBUGLEVEL'] = "Debug Level";
|
||||||
$content['LN_DEBUGMESSAGE'] = "Debug Message";
|
$content['LN_DEBUGMESSAGE'] = "Debug Message";
|
||||||
$content['LN_GEN_REPORT_OUTPUT_HTML'] = "HTML Format";
|
$content['LN_GEN_REPORT_OUTPUT_HTML'] = "HTML Format";
|
||||||
$content['LN_GEN_REPORT_OUTPUT_PDF'] = "PDF Format";
|
$content['LN_GEN_REPORT_OUTPUT_PDF'] = "PDF Format";
|
||||||
$content['LN_GEN_REPORT_TARGET_STDOUT'] = "Direct Output";
|
$content['LN_GEN_REPORT_TARGET_STDOUT'] = "Direct Output";
|
||||||
$content['LN_GEN_REPORT_TARGET_FILE'] = "Save into File";
|
$content['LN_GEN_REPORT_TARGET_FILE'] = "Save into File";
|
||||||
$content['LN_GEN_REPORT_TARGET_EMAIL'] = "Send as Email";
|
$content['LN_GEN_REPORT_TARGET_EMAIL'] = "Send as Email";
|
||||||
$content['LN_GEN_UNKNOWN'] = "Unknown";
|
$content['LN_GEN_UNKNOWN'] = "Unknown";
|
||||||
$content['LN_GEN_AUTH_INTERNAL'] = "Internal authentication";
|
$content['LN_GEN_AUTH_INTERNAL'] = "Internal authentication";
|
||||||
$content['LN_GEN_AUTH_LDAP'] = "LDAP Authentication";
|
$content['LN_GEN_AUTH_LDAP'] = "LDAP Authentication";
|
||||||
|
|
||||||
// Topmenu Entries
|
// Topmenu Entries
|
||||||
$content['LN_MENU_SEARCH'] = "Search";
|
$content['LN_MENU_SEARCH'] = "Search";
|
||||||
$content['LN_MENU_SHOWEVENTS'] = "Show Events";
|
$content['LN_MENU_SHOWEVENTS'] = "Show Events";
|
||||||
$content['LN_MENU_HELP'] = "Help";
|
$content['LN_MENU_HELP'] = "Help";
|
||||||
$content['LN_MENU_DOC'] = "Documentation";
|
$content['LN_MENU_DOC'] = "Documentation";
|
||||||
$content['LN_MENU_FORUM'] = "Support Forum";
|
$content['LN_MENU_FORUM'] = "Support Forum";
|
||||||
$content['LN_MENU_WIKI'] = "LogAnalyzer Wiki";
|
$content['LN_MENU_WIKI'] = "LogAnalyzer Wiki";
|
||||||
$content['LN_MENU_PROSERVICES'] = "Professional Services";
|
$content['LN_MENU_PROSERVICES'] = "Professional Services";
|
||||||
$content['LN_MENU_SEARCHINKB'] = "Search in Knowledge Base";
|
$content['LN_MENU_SEARCHINKB'] = "Search in Knowledge Base";
|
||||||
$content['LN_MENU_LOGIN'] = "Login";
|
$content['LN_MENU_LOGIN'] = "Login";
|
||||||
$content['LN_MENU_ADMINCENTER'] = "Admin Center";
|
$content['LN_MENU_ADMINCENTER'] = "Admin Center";
|
||||||
$content['LN_MENU_LOGOFF'] = "Logoff";
|
$content['LN_MENU_LOGOFF'] = "Logoff";
|
||||||
$content['LN_MENU_LOGGEDINAS'] = "Logged in as";
|
$content['LN_MENU_LOGGEDINAS'] = "Logged in as";
|
||||||
$content['LN_MENU_MAXVIEW'] = "Maximize View";
|
$content['LN_MENU_MAXVIEW'] = "Maximize View";
|
||||||
$content['LN_MENU_NORMALVIEW'] = "Normalize View";
|
$content['LN_MENU_NORMALVIEW'] = "Normalize View";
|
||||||
$content['LN_MENU_STATISTICS'] = "Statistics";
|
$content['LN_MENU_STATISTICS'] = "Statistics";
|
||||||
$content['LN_MENU_CLICKTOEXPANDMENU'] = "Click the icon to show the menu";
|
$content['LN_MENU_CLICKTOEXPANDMENU'] = "Click the icon to show the menu";
|
||||||
$content['LN_MENU_REPORTS'] = "Reports";
|
$content['LN_MENU_REPORTS'] = "Reports";
|
||||||
|
|
||||||
// Main Index Site
|
// Main Index Site
|
||||||
$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warning! You still have NOT removed the 'install.php' from your LogAnalyzer main directory!";
|
$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warning! You still have NOT removed the 'install.php' from your LogAnalyzer main directory!";
|
||||||
$content['LN_TOP_NUM'] = "No.";
|
$content['LN_TOP_NUM'] = "No.";
|
||||||
$content['LN_TOP_UID'] = "uID";
|
$content['LN_TOP_UID'] = "uID";
|
||||||
$content['LN_GRID_POPUPDETAILS'] = "Details for Syslogmessage with ID '%1'";
|
$content['LN_GRID_POPUPDETAILS'] = "Details for Syslogmessage with ID '%1'";
|
||||||
|
|
||||||
$content['LN_SEARCH_USETHISBLA'] = "Use the form below and your advanced search will appear here";
|
$content['LN_SEARCH_USETHISBLA'] = "Use the form below and your advanced search will appear here";
|
||||||
$content['LN_SEARCH_FILTER'] = "Search (filter):";
|
$content['LN_SEARCH_FILTER'] = "Search (filter):";
|
||||||
$content['LN_SEARCH_ADVANCED'] = "Advanced Search";
|
$content['LN_SEARCH_ADVANCED'] = "Advanced Search";
|
||||||
$content['LN_SEARCH'] = "Search";
|
$content['LN_SEARCH'] = "Search";
|
||||||
$content['LN_SEARCH_RESET'] = "Reset search";
|
$content['LN_SEARCH_RESET'] = "Reset search";
|
||||||
$content['LN_SEARCH_PERFORMADVANCED'] = "Perform Advanced Search";
|
$content['LN_SEARCH_PERFORMADVANCED'] = "Perform Advanced Search";
|
||||||
$content['LN_VIEW_MESSAGECENTERED'] = "Back to unfiltered view with this message at top";
|
$content['LN_VIEW_MESSAGECENTERED'] = "Back to unfiltered view with this message at top";
|
||||||
$content['LN_VIEW_RELATEDMSG'] = "View related syslog messages";
|
$content['LN_VIEW_RELATEDMSG'] = "View related syslog messages";
|
||||||
$content['LN_VIEW_FILTERFOR'] = "Filter message for ";
|
$content['LN_VIEW_FILTERFOR'] = "Filter message for ";
|
||||||
$content['LN_VIEW_SEARCHFOR'] = "Search online for ";
|
$content['LN_VIEW_SEARCHFOR'] = "Search online for ";
|
||||||
$content['LN_VIEW_SEARCHFORGOOGLE'] = "Search Google for ";
|
$content['LN_VIEW_SEARCHFORGOOGLE'] = "Search Google for ";
|
||||||
$content['LN_GEN_MESSAGEDETAILS'] = "Message Details";
|
$content['LN_GEN_MESSAGEDETAILS'] = "Message Details";
|
||||||
$content['LN_VIEW_ADDTOFILTER'] = "Add '%1' to filterset";
|
$content['LN_VIEW_ADDTOFILTER'] = "Add '%1' to filterset";
|
||||||
$content['LN_VIEW_EXCLUDEFILTER'] = "Exclude '%1' from filterset";
|
$content['LN_VIEW_EXCLUDEFILTER'] = "Exclude '%1' from filterset";
|
||||||
$content['LN_VIEW_FILTERFORONLY'] = "Filter for '%1' only";
|
$content['LN_VIEW_FILTERFORONLY'] = "Filter for '%1' only";
|
||||||
$content['LN_VIEW_SHOWALLBUT'] = "Show all except '%1'";
|
$content['LN_VIEW_SHOWALLBUT'] = "Show all except '%1'";
|
||||||
$content['LN_VIEW_VISITLINK'] = "Open Link '%1' in new window";
|
$content['LN_VIEW_VISITLINK'] = "Open Link '%1' in new window";
|
||||||
|
|
||||||
$content['LN_HIGHLIGHT'] = "Highlight >>";
|
$content['LN_HIGHLIGHT'] = "Highlight >>";
|
||||||
$content['LN_HIGHLIGHT_OFF'] = "Highlight <<";
|
$content['LN_HIGHLIGHT_OFF'] = "Highlight <<";
|
||||||
$content['LN_HIGHLIGHT_WORDS'] = "Highlight words comma separated";
|
$content['LN_HIGHLIGHT_WORDS'] = "Highlight words comma separated";
|
||||||
|
|
||||||
$content['LN_AUTORELOAD'] = "Set auto reload";
|
$content['LN_AUTORELOAD'] = "Set auto reload";
|
||||||
$content['LN_AUTORELOAD_DISABLED'] = "Auto reload disabled";
|
$content['LN_AUTORELOAD_DISABLED'] = "Auto reload disabled";
|
||||||
$content['LN_AUTORELOAD_PRECONFIGURED'] = "Preconfigured auto reload ";
|
$content['LN_AUTORELOAD_PRECONFIGURED'] = "Preconfigured auto reload ";
|
||||||
$content['LN_AUTORELOAD_SECONDS'] = "seconds";
|
$content['LN_AUTORELOAD_SECONDS'] = "seconds";
|
||||||
$content['LN_AUTORELOAD_MINUTES'] = "minutes";
|
$content['LN_AUTORELOAD_MINUTES'] = "minutes";
|
||||||
|
|
||||||
// Filter Options
|
// Filter Options
|
||||||
$content['LN_FILTER_DATE'] = "Datetime Range";
|
$content['LN_FILTER_DATE'] = "Datetime Range";
|
||||||
$content['LN_FILTER_DATEMODE'] = "Select mode";
|
$content['LN_FILTER_DATEMODE'] = "Select mode";
|
||||||
$content['LN_DATEMODE_ALL'] = "All time";
|
$content['LN_DATEMODE_ALL'] = "All time";
|
||||||
$content['LN_DATEMODE_RANGE'] = "Time range";
|
$content['LN_DATEMODE_RANGE'] = "Time range";
|
||||||
$content['LN_DATEMODE_LASTX'] = "Time x since today";
|
$content['LN_DATEMODE_LASTX'] = "Time x since today";
|
||||||
$content['LN_FILTER_DATEFROM'] = "Date range from";
|
$content['LN_FILTER_DATEFROM'] = "Date range from";
|
||||||
$content['LN_FILTER_DATETO'] = "Date range to";
|
$content['LN_FILTER_DATETO'] = "Date range to";
|
||||||
$content['LN_FILTER_TIMEFROM'] = "Time range from";
|
$content['LN_FILTER_TIMEFROM'] = "Time range from";
|
||||||
$content['LN_FILTER_TIMETO'] = "Time range to";
|
$content['LN_FILTER_TIMETO'] = "Time range to";
|
||||||
$content['LN_FILTER_DATELASTX'] = "Time since";
|
$content['LN_FILTER_DATELASTX'] = "Time since";
|
||||||
$content['LN_FILTER_ADD2SEARCH'] = "Add to search";
|
$content['LN_FILTER_ADD2SEARCH'] = "Add to search";
|
||||||
$content['LN_DATE_LASTX_HOUR'] = "Last hour";
|
$content['LN_DATE_LASTX_HOUR'] = "Last hour";
|
||||||
$content['LN_DATE_LASTX_12HOURS'] = "Last 12 hours";
|
$content['LN_DATE_LASTX_12HOURS'] = "Last 12 hours";
|
||||||
$content['LN_DATE_LASTX_24HOURS'] = "Last 24 hours";
|
$content['LN_DATE_LASTX_24HOURS'] = "Last 24 hours";
|
||||||
$content['LN_DATE_LASTX_7DAYS'] = "Last 7 days";
|
$content['LN_DATE_LASTX_7DAYS'] = "Last 7 days";
|
||||||
$content['LN_DATE_LASTX_31DAYS'] = "Last 31 days";
|
$content['LN_DATE_LASTX_31DAYS'] = "Last 31 days";
|
||||||
$content['LN_FILTER_FACILITY'] = "Syslog Facility";
|
$content['LN_FILTER_FACILITY'] = "Syslog Facility";
|
||||||
$content['LN_FILTER_SEVERITY'] = "Syslog Severity";
|
$content['LN_FILTER_SEVERITY'] = "Syslog Severity";
|
||||||
$content['LN_FILTER_OTHERS'] = "Other Filters";
|
$content['LN_FILTER_OTHERS'] = "Other Filters";
|
||||||
$content['LN_FILTER_MESSAGE'] = "Syslog Message";
|
$content['LN_FILTER_MESSAGE'] = "Syslog Message";
|
||||||
$content['LN_FILTER_SYSLOGTAG'] = "Syslogtag";
|
$content['LN_FILTER_SYSLOGTAG'] = "Syslogtag";
|
||||||
$content['LN_FILTER_SOURCE'] = "Source (Hostname)";
|
$content['LN_FILTER_SOURCE'] = "Source (Hostname)";
|
||||||
$content['LN_FILTER_MESSAGETYPE'] = "Message Type";
|
$content['LN_FILTER_MESSAGETYPE'] = "Message Type";
|
||||||
|
|
||||||
// Install Page
|
// Install Page
|
||||||
$content['LN_CFG_DBSERVER'] = "Database Host";
|
$content['LN_CFG_DBSERVER'] = "Database Host";
|
||||||
$content['LN_CFG_DBPORT'] = "Database Port";
|
$content['LN_CFG_DBPORT'] = "Database Port";
|
||||||
$content['LN_CFG_DBNAME'] = "Database Name";
|
$content['LN_CFG_DBNAME'] = "Database Name";
|
||||||
$content['LN_CFG_DBPREF'] = "Table prefix";
|
$content['LN_CFG_DBPREF'] = "Table prefix";
|
||||||
$content['LN_CFG_DBUSER'] = "Database User";
|
$content['LN_CFG_DBUSER'] = "Database User";
|
||||||
$content['LN_CFG_DBPASSWORD'] = "Database Password";
|
$content['LN_CFG_DBPASSWORD'] = "Database Password";
|
||||||
$content['LN_CFG_PARAMMISSING'] = "The following parameter were missing: ";
|
$content['LN_CFG_PARAMMISSING'] = "The following parameter were missing: ";
|
||||||
$content['LN_CFG_SOURCETYPE'] = "Source Type";
|
$content['LN_CFG_SOURCETYPE'] = "Source Type";
|
||||||
$content['LN_CFG_DISKTYPEOPTIONS'] = "Disk Type Options";
|
$content['LN_CFG_DISKTYPEOPTIONS'] = "Disk Type Options";
|
||||||
$content['LN_CFG_LOGLINETYPE'] = "Logline type";
|
$content['LN_CFG_LOGLINETYPE'] = "Logline type";
|
||||||
$content['LN_CFG_SYSLOGFILE'] = "Syslog file";
|
$content['LN_CFG_SYSLOGFILE'] = "Syslog file";
|
||||||
$content['LN_CFG_DATABASETYPEOPTIONS'] = "Database Type Options";
|
$content['LN_CFG_DATABASETYPEOPTIONS'] = "Database Type Options";
|
||||||
$content['LN_CFG_DBTABLETYPE'] = "Table type";
|
$content['LN_CFG_DBTABLETYPE'] = "Table type";
|
||||||
$content['LN_CFG_DBSTORAGEENGINE'] = "Database Storage Engine";
|
$content['LN_CFG_DBSTORAGEENGINE'] = "Database Storage Engine";
|
||||||
$content['LN_CFG_DBTABLENAME'] = "Database Tablename";
|
$content['LN_CFG_DBTABLENAME'] = "Database Tablename";
|
||||||
$content['LN_CFG_NAMEOFTHESOURCE'] = "Name of the Source";
|
$content['LN_CFG_NAMEOFTHESOURCE'] = "Name of the Source";
|
||||||
$content['LN_CFG_FIRSTSYSLOGSOURCE'] = "First Syslog Source";
|
$content['LN_CFG_FIRSTSYSLOGSOURCE'] = "First Syslog Source";
|
||||||
$content['LN_CFG_DBROWCOUNTING'] = "Enable Row Counting";
|
$content['LN_CFG_DBROWCOUNTING'] = "Enable Row Counting";
|
||||||
$content['LN_CFG_VIEW'] = "Select View";
|
$content['LN_CFG_VIEW'] = "Select View";
|
||||||
$content['LN_CFG_DBUSERLOGINREQUIRED'] = "Require user to be logged in";
|
$content['LN_CFG_DBUSERLOGINREQUIRED'] = "Require user to be logged in";
|
||||||
$content['LN_CFG_MSGPARSERS'] = "Message Parsers (comma seperated)";
|
$content['LN_CFG_MSGPARSERS'] = "Message Parsers (comma seperated)";
|
||||||
$content['LN_CFG_NORMALIZEMSG'] = "Normalize Message within Parsers";
|
$content['LN_CFG_NORMALIZEMSG'] = "Normalize Message within Parsers";
|
||||||
$content['LN_CFG_SKIPUNPARSEABLE'] = "Skip unparseable messages (Only works if msgparsers are configured!)";
|
$content['LN_CFG_SKIPUNPARSEABLE'] = "Skip unparseable messages (Only works if msgparsers are configured!)";
|
||||||
$content['LN_CFG_DBRECORDSPERQUERY'] = "Recordcount for database queries";
|
$content['LN_CFG_DBRECORDSPERQUERY'] = "Recordcount for database queries";
|
||||||
$content['LN_CFG_LDAPServer'] = "LDAP Server Hostname/IP";
|
$content['LN_CFG_LDAPServer'] = "LDAP Server Hostname/IP";
|
||||||
$content['LN_CFG_LDAPPort'] = "LDAP Port, default 389 (636 for SSL)";
|
$content['LN_CFG_LDAPPort'] = "LDAP Port, default 389 (636 for SSL)";
|
||||||
$content['LN_CFG_LDAPBaseDN'] = "Base DN for LDAP Search";
|
$content['LN_CFG_LDAPBaseDN'] = "Base DN for LDAP Search";
|
||||||
$content['LN_CFG_LDAPSearchFilter'] = "Basic Search filter";
|
$content['LN_CFG_LDAPSearchFilter'] = "Basic Search filter";
|
||||||
$content['LN_CFG_LDAPUidAttribute'] = "LDAP Username attribute";
|
$content['LN_CFG_LDAPUidAttribute'] = "LDAP Username attribute";
|
||||||
$content['LN_CFG_LDAPBindDN'] = "Privilegied user used to LDAP queries";
|
$content['LN_CFG_LDAPBindDN'] = "Privilegied user used to LDAP queries";
|
||||||
$content['LN_CFG_LDAPBindPassword'] = "Password of the privilegied user";
|
$content['LN_CFG_LDAPBindPassword'] = "Password of the privilegied user";
|
||||||
$content['LN_CFG_LDAPDefaultAdminUser'] = "Default administrative LDAP Username";
|
$content['LN_CFG_LDAPDefaultAdminUser'] = "Default administrative LDAP Username";
|
||||||
$content['LN_CFG_AUTHTYPE'] = "Authentication method";
|
$content['LN_CFG_AUTHTYPE'] = "Authentication method";
|
||||||
$content['LN_GEN_AUTH_LDAP_OPTIONS'] = "LDAP Authentication Options";
|
$content['LN_GEN_AUTH_LDAP_OPTIONS'] = "LDAP Authentication Options";
|
||||||
|
|
||||||
// Details page
|
// Details page
|
||||||
$content['LN_DETAILS_FORSYSLOGMSG'] = "Details for the syslog messages with id";
|
$content['LN_DETAILS_FORSYSLOGMSG'] = "Details for the syslog messages with id";
|
||||||
$content['LN_DETAILS_DETAILSFORMSG'] = "Details for message id";
|
$content['LN_DETAILS_DETAILSFORMSG'] = "Details for message id";
|
||||||
$content['LN_DETAIL_BACKTOLIST'] = "Back to Listview";
|
$content['LN_DETAIL_BACKTOLIST'] = "Back to Listview";
|
||||||
|
$content['LN_DETAIL_DYNAMIC_FIELDS'] = "Dynamic fields";
|
||||||
// Login Site
|
|
||||||
$content['LN_LOGIN_DESCRIPTION'] = "Use this form to login into LogAnalyzer. ";
|
|
||||||
$content['LN_LOGIN_TITLE'] = "Login";
|
// Login Site
|
||||||
$content['LN_LOGIN_USERNAME'] = "Username";
|
$content['LN_LOGIN_DESCRIPTION'] = "Use this form to login into LogAnalyzer. ";
|
||||||
$content['LN_LOGIN_PASSWORD'] = "Password";
|
$content['LN_LOGIN_TITLE'] = "Login";
|
||||||
$content['LN_LOGIN_SAVEASCOOKIE'] = "Stay logged on";
|
$content['LN_LOGIN_USERNAME'] = "Username";
|
||||||
$content['LN_LOGIN_ERRWRONGPASSWORD'] = "Wrong username or password!";
|
$content['LN_LOGIN_PASSWORD'] = "Password";
|
||||||
$content['LN_LOGIN_USERPASSMISSING'] = "Username or password not given";
|
$content['LN_LOGIN_SAVEASCOOKIE'] = "Stay logged on";
|
||||||
$content['LN_LOGIN_LDAP_USERNOTFOUND'] = "User '%1' could not be found";
|
$content['LN_LOGIN_ERRWRONGPASSWORD'] = "Wrong username or password!";
|
||||||
$content['LN_LOGIN_LDAP_USERCOULDNOTLOGIN'] = "Could not login user '%1', LDAP error: %2";
|
$content['LN_LOGIN_USERPASSMISSING'] = "Username or password not given";
|
||||||
$content['LN_LOGIN_LDAP_PASSWORDFAIL'] = "User '%1' could not login with the given password";
|
$content['LN_LOGIN_LDAP_USERNOTFOUND'] = "User '%1' could not be found";
|
||||||
$content['LN_LOGIN_LDAP_SERVERFAILED'] = "Failed to connect to LDAP Server '%1'";
|
$content['LN_LOGIN_LDAP_USERCOULDNOTLOGIN'] = "Could not login user '%1', LDAP error: %2";
|
||||||
$content['LN_LOGIN_LDAP_USERBINDFAILED'] = "Could not bind with the Search user DN '%1'";
|
$content['LN_LOGIN_LDAP_PASSWORDFAIL'] = "User '%1' could not login with the given password";
|
||||||
|
$content['LN_LOGIN_LDAP_SERVERFAILED'] = "Failed to connect to LDAP Server '%1'";
|
||||||
|
$content['LN_LOGIN_LDAP_USERBINDFAILED'] = "Could not bind with the Search user DN '%1'";
|
||||||
// Install Site
|
|
||||||
$content['LN_INSTALL_TITLETOP'] = "Installing LogAnalyzer Version %1 - Step %2";
|
|
||||||
$content['LN_INSTALL_TITLE'] = "Installer Step %1";
|
// Install Site
|
||||||
$content['LN_INSTALL_ERRORINSTALLED'] = 'LogAnalyzer is already configured!<br><br> If you want to reconfigure LogAnalyzer, either delete the current <B>config.php</B> or replace it with an empty file.<br><br>Click <A HREF="index.php">here</A> to return to pgpLogCon start page.';
|
$content['LN_INSTALL_TITLETOP'] = "Installing LogAnalyzer Version %1 - Step %2";
|
||||||
$content['LN_INSTALL_FILEORDIRNOTWRITEABLE'] = "At least one file or directory (or more) is not writeable, please check the file permissions (chmod 666)!";
|
$content['LN_INSTALL_TITLE'] = "Installer Step %1";
|
||||||
$content['LN_INSTALL_SAMPLECONFIGMISSING'] = "The sample configuration file '%1' is missing. You have not fully uploaded LogAnalyzer.";
|
$content['LN_INSTALL_ERRORINSTALLED'] = 'LogAnalyzer is already configured!<br><br> If you want to reconfigure LogAnalyzer, either delete the current <B>config.php</B> or replace it with an empty file.<br><br>Click <A HREF="index.php">here</A> to return to pgpLogCon start page.';
|
||||||
$content['LN_INSTALL_ERRORCONNECTFAILED'] = "Database connect to '%1' failed! Please check Servername, Port, User and Password!";
|
$content['LN_INSTALL_FILEORDIRNOTWRITEABLE'] = "At least one file or directory (or more) is not writeable, please check the file permissions (chmod 666)!";
|
||||||
$content['LN_INSTALL_ERRORACCESSDENIED'] = "Cannot use the database '%1'! If the database does not exists, create it or check user access permissions!";
|
$content['LN_INSTALL_SAMPLECONFIGMISSING'] = "The sample configuration file '%1' is missing. You have not fully uploaded LogAnalyzer.";
|
||||||
$content['LN_INSTALL_ERRORINVALIDDBFILE'] = "Error, invalid Database definition file (to short!), the file name is '%1'! Please check if the file was correctly uploaded.";
|
$content['LN_INSTALL_ERRORCONNECTFAILED'] = "Database connect to '%1' failed! Please check Servername, Port, User and Password!";
|
||||||
$content['LN_INSTALL_ERRORINSQLCOMMANDS'] = "Error, invalid Database definition file (no sql statements found!), the file name is '%1'!<br> Please check if the file was not correctly uploaded, or contact the LogAnalyzer forums for assistance!";
|
$content['LN_INSTALL_ERRORACCESSDENIED'] = "Cannot use the database '%1'! If the database does not exists, create it or check user access permissions!";
|
||||||
$content['LN_INSTALL_MISSINGUSERNAME'] = "Username needs to be specified";
|
$content['LN_INSTALL_ERRORINVALIDDBFILE'] = "Error, invalid Database definition file (to short!), the file name is '%1'! Please check if the file was correctly uploaded.";
|
||||||
$content['LN_INSTALL_PASSWORDNOTMATCH'] = "Either the password does not match or is to short!";
|
$content['LN_INSTALL_ERRORINSQLCOMMANDS'] = "Error, invalid Database definition file (no sql statements found!), the file name is '%1'!<br> Please check if the file was not correctly uploaded, or contact the LogAnalyzer forums for assistance!";
|
||||||
$content['LN_INSTALL_FAILEDTOOPENSYSLOGFILE'] = "Failed to open the syslog file '%1'! Check if the file exists and LogAnalyzer has sufficient rights to it<br>";
|
$content['LN_INSTALL_MISSINGUSERNAME'] = "Username needs to be specified";
|
||||||
$content['LN_INSTALL_FAILEDCREATECFGFILE'] = "Coult not create the configuration file in '%1'! Please verify the file permissions!";
|
$content['LN_INSTALL_PASSWORDNOTMATCH'] = "Either the password does not match or is to short!";
|
||||||
$content['LN_INSTALL_FAILEDREADINGFILE'] = "Error reading the file '%1'! Please verify if the file exists!";
|
$content['LN_INSTALL_FAILEDTOOPENSYSLOGFILE'] = "Failed to open the syslog file '%1'! Check if the file exists and LogAnalyzer has sufficient rights to it<br>";
|
||||||
$content['LN_INSTALL_ERRORREADINGDBFILE'] = "Error reading the default database definition file in '%1'! Please verify if the file exists!";
|
$content['LN_INSTALL_FAILEDCREATECFGFILE'] = "Coult not create the configuration file in '%1'! Please verify the file permissions!";
|
||||||
$content['LN_INSTALL_STEP1'] = "Step 1 - Prerequisites";
|
$content['LN_INSTALL_FAILEDREADINGFILE'] = "Error reading the file '%1'! Please verify if the file exists!";
|
||||||
$content['LN_INSTALL_STEP2'] = "Step 2 - Verify File Permissions";
|
$content['LN_INSTALL_ERRORREADINGDBFILE'] = "Error reading the default database definition file in '%1'! Please verify if the file exists!";
|
||||||
$content['LN_INSTALL_STEP3'] = "Step 3 - Basic Configuration";
|
$content['LN_INSTALL_STEP1'] = "Step 1 - Prerequisites";
|
||||||
$content['LN_INSTALL_STEP4'] = "Step 4 - Create Tables";
|
$content['LN_INSTALL_STEP2'] = "Step 2 - Verify File Permissions";
|
||||||
$content['LN_INSTALL_STEP5'] = "Step 5 - Check SQL Results";
|
$content['LN_INSTALL_STEP3'] = "Step 3 - Basic Configuration";
|
||||||
$content['LN_INSTALL_STEP6'] = "Step 6 - Creating the Main Useraccount";
|
$content['LN_INSTALL_STEP4'] = "Step 4 - Create Tables";
|
||||||
$content['LN_INSTALL_STEP7'] = "Step 7 - Create the first source for syslog messages";
|
$content['LN_INSTALL_STEP5'] = "Step 5 - Check SQL Results";
|
||||||
$content['LN_INSTALL_STEP8'] = "Step 8 - Done";
|
$content['LN_INSTALL_STEP6'] = "Step 6 - Creating the Main Useraccount";
|
||||||
$content['LN_INSTALL_STEP1_TEXT'] = 'Before you start installing LogAnalyzer, the Installer setup has to check a few things first.<br>You may have to correct some file permissions first. <br><br>Click on <input type="submit" value="Next"> to start the Test!';
|
$content['LN_INSTALL_STEP7'] = "Step 7 - Create the first source for syslog messages";
|
||||||
$content['LN_INSTALL_STEP2_TEXT'] = "The following file permissions have been checked. Verify the results below! <br>You may use the <B>configure.sh</B> script from the <B>contrib</B> folder to set the permissions for you.";
|
$content['LN_INSTALL_STEP8'] = "Step 8 - Done";
|
||||||
$content['LN_INSTALL_STEP3_TEXT'] = "In this step, you configure the basic configurations for LogAnalyzer.";
|
$content['LN_INSTALL_STEP1_TEXT'] = 'Before you start installing LogAnalyzer, the Installer setup has to check a few things first.<br>You may have to correct some file permissions first. <br><br>Click on <input type="submit" value="Next"> to start the Test!';
|
||||||
$content['LN_INSTALL_STEP4_TEXT'] = 'If you reached this step, the database connection has been successfully verified!<br><br> The next step will be to create the necessary database tables used by the LogAnalyzer User System. This might take a while!<br> <b>WARNING</b>, if you have an existing LogAnalyzer installation in this database with the same tableprefix, all your data will be <b>OVERWRITTEN</b>! Make sure you are using a fresh database, or you want to overwrite your old LogAnalyzer database. <br><br><b>Click on <input type="submit" value="Next"> to start the creation of the tables</b>';
|
$content['LN_INSTALL_STEP2_TEXT'] = "The following file permissions have been checked. Verify the results below! <br>You may use the <B>configure.sh</B> script from the <B>contrib</B> folder to set the permissions for you.";
|
||||||
$content['LN_INSTALL_STEP5_TEXT'] = "Tables have been created. Check the List below for possible Error's";
|
$content['LN_INSTALL_STEP3_TEXT'] = "In this step, you configure the basic configurations for LogAnalyzer.";
|
||||||
$content['LN_INSTALL_STEP6_TEXT'] = "You are now about to create the initial LogAnalyzer User Account.<br> This will be the first administrative user, which will be needed to login into LogAnalyzer and access the Admin Center!";
|
$content['LN_INSTALL_STEP4_TEXT'] = 'If you reached this step, the database connection has been successfully verified!<br><br> The next step will be to create the necessary database tables used by the LogAnalyzer User System. This might take a while!<br> <b>WARNING</b>, if you have an existing LogAnalyzer installation in this database with the same tableprefix, all your data will be <b>OVERWRITTEN</b>! Make sure you are using a fresh database, or you want to overwrite your old LogAnalyzer database. <br><br><b>Click on <input type="submit" value="Next"> to start the creation of the tables</b>';
|
||||||
$content['LN_INSTALL_STEP8_TEXT'] = 'Congratulations! You have successfully installed LogAnalyzer :)! <br><br>Click <a href="index.php">here</a> to go to your installation.';
|
$content['LN_INSTALL_STEP5_TEXT'] = "Tables have been created. Check the List below for possible Error's";
|
||||||
$content['LN_INSTALL_PROGRESS'] = "Install Progress: ";
|
$content['LN_INSTALL_STEP6_TEXT'] = "You are now about to create the initial LogAnalyzer User Account.<br> This will be the first administrative user, which will be needed to login into LogAnalyzer and access the Admin Center!";
|
||||||
$content['LN_INSTALL_FRONTEND'] = "Frontend Options";
|
$content['LN_INSTALL_STEP8_TEXT'] = 'Congratulations! You have successfully installed LogAnalyzer :)! <br><br>Click <a href="index.php">here</a> to go to your installation.';
|
||||||
$content['LN_INSTALL_NUMOFSYSLOGS'] = "Number of syslog messages per page";
|
$content['LN_INSTALL_PROGRESS'] = "Install Progress: ";
|
||||||
$content['LN_INSTALL_MSGCHARLIMIT'] = "Message character limit for the main view";
|
$content['LN_INSTALL_FRONTEND'] = "Frontend Options";
|
||||||
$content['LN_INSTALL_STRCHARLIMIT'] = "Character display limit for all string type fields";
|
$content['LN_INSTALL_NUMOFSYSLOGS'] = "Number of syslog messages per page";
|
||||||
$content['LN_INSTALL_SHOWDETAILPOP'] = "Show message details popup";
|
$content['LN_INSTALL_MSGCHARLIMIT'] = "Message character limit for the main view";
|
||||||
$content['LN_INSTALL_AUTORESOLVIP'] = "Automatically resolved IP Addresses (inline)";
|
$content['LN_INSTALL_STRCHARLIMIT'] = "Character display limit for all string type fields";
|
||||||
$content['LN_INSTALL_USERDBOPTIONS'] = "User Database Options";
|
$content['LN_INSTALL_SHOWDETAILPOP'] = "Show message details popup";
|
||||||
$content['LN_INSTALL_ENABLEUSERDB'] = "Enable User Database";
|
$content['LN_INSTALL_AUTORESOLVIP'] = "Automatically resolved IP Addresses (inline)";
|
||||||
$content['LN_INSTALL_SUCCESSSTATEMENTS'] = "Successfully executed statements:";
|
$content['LN_INSTALL_USERDBOPTIONS'] = "User Database Options";
|
||||||
$content['LN_INSTALL_FAILEDSTATEMENTS'] = "Failed statements:";
|
$content['LN_INSTALL_ENABLEUSERDB'] = "Enable User Database";
|
||||||
$content['LN_INSTALL_STEP5_TEXT_NEXT'] = "You can now proceed to the <B>next</B> step adding the first LogAnalyzer Admin User!";
|
$content['LN_INSTALL_SUCCESSSTATEMENTS'] = "Successfully executed statements:";
|
||||||
$content['LN_INSTALL_STEP5_TEXT_FAILED'] = "At least one statement failed,see error reasons below";
|
$content['LN_INSTALL_FAILEDSTATEMENTS'] = "Failed statements:";
|
||||||
$content['LN_INSTALL_ERRORMSG'] = "Error Message";
|
$content['LN_INSTALL_STEP5_TEXT_NEXT'] = "You can now proceed to the <B>next</B> step adding the first LogAnalyzer Admin User!";
|
||||||
$content['LN_INSTALL_SQLSTATEMENT'] = "SQL Statement";
|
$content['LN_INSTALL_STEP5_TEXT_FAILED'] = "At least one statement failed,see error reasons below";
|
||||||
$content['LN_INSTALL_CREATEUSER'] = "Create User Account";
|
$content['LN_INSTALL_ERRORMSG'] = "Error Message";
|
||||||
$content['LN_INSTALL_PASSWORD'] = "Password";
|
$content['LN_INSTALL_SQLSTATEMENT'] = "SQL Statement";
|
||||||
$content['LN_INSTALL_PASSWORDREPEAT'] = "Repeat Password";
|
$content['LN_INSTALL_CREATEUSER'] = "Create User Account";
|
||||||
$content['LN_INSTALL_SUCCESSCREATED'] = "Successfully created User";
|
$content['LN_INSTALL_PASSWORD'] = "Password";
|
||||||
$content['LN_INSTALL_RECHECK'] = "ReCheck";
|
$content['LN_INSTALL_PASSWORDREPEAT'] = "Repeat Password";
|
||||||
$content['LN_INSTALL_FINISH'] = "Finish!";
|
$content['LN_INSTALL_SUCCESSCREATED'] = "Successfully created User";
|
||||||
$content['LN_INSTALL_LDAPCONNECTFAILED'] = "Failed to connect to your LDAP Server '%1'.";
|
$content['LN_INSTALL_RECHECK'] = "ReCheck";
|
||||||
$content['LN_INSTALL_'] = "";
|
$content['LN_INSTALL_FINISH'] = "Finish!";
|
||||||
|
$content['LN_INSTALL_LDAPCONNECTFAILED'] = "Failed to connect to your LDAP Server '%1'.";
|
||||||
// Converter Site
|
$content['LN_INSTALL_'] = "";
|
||||||
$content['LN_CONVERT_TITLE'] = "Configuration Converter Step %1";
|
|
||||||
$content['LN_CONVERT_NOTALLOWED'] = "Login";
|
// Converter Site
|
||||||
$content['LN_CONVERT_ERRORINSTALLED'] = 'LogAnalyzer is not allowed to convert your settings into the user database.<br><br> If you want to convert your convert your settings, add the variable following into your config.php: <br><b>$CFG[\'UserDBConvertAllowed\'] = true;</b><br><br> Click <A HREF="index.php">here</A> to return to pgpLogCon start page.';
|
$content['LN_CONVERT_TITLE'] = "Configuration Converter Step %1";
|
||||||
$content['LN_CONVERT_STEP1'] = "Step 1 - Informations";
|
$content['LN_CONVERT_NOTALLOWED'] = "Login";
|
||||||
$content['LN_CONVERT_STEP2'] = "Step 2 - Create Tables";
|
$content['LN_CONVERT_ERRORINSTALLED'] = 'LogAnalyzer is not allowed to convert your settings into the user database.<br><br> If you want to convert your convert your settings, add the variable following into your config.php: <br><b>$CFG[\'UserDBConvertAllowed\'] = true;</b><br><br> Click <A HREF="index.php">here</A> to return to pgpLogCon start page.';
|
||||||
$content['LN_CONVERT_STEP3'] = "Step 3 - Check SQL Results";
|
$content['LN_CONVERT_STEP1'] = "Step 1 - Informations";
|
||||||
$content['LN_CONVERT_STEP4'] = "Step 4 - Creating the Main Useraccount";
|
$content['LN_CONVERT_STEP2'] = "Step 2 - Create Tables";
|
||||||
$content['LN_CONVERT_STEP5'] = "Step 5 - Import Settings into UserDB";
|
$content['LN_CONVERT_STEP3'] = "Step 3 - Check SQL Results";
|
||||||
$content['LN_CONVERT_TITLETOP'] = "Converting LogAnalyzer configuration settings - Step ";
|
$content['LN_CONVERT_STEP4'] = "Step 4 - Creating the Main Useraccount";
|
||||||
$content['LN_CONVERT_STEP1_TEXT'] = 'This script allows you to import your existing configuration from the <b>config.php</b> file. This includes frontend settings, data sources, custom views and custom searches. Do only perform this conversion if you did install LogAnalyzer without the UserDB System, and decided to enable it now. <br><br><b>ANY EXISTING INSTANCE OF A USERDB WILL BE OVERWRITTEN!</b><br><br><input type="submit" value="Click here"> to start the first conversion step!';
|
$content['LN_CONVERT_STEP5'] = "Step 5 - Import Settings into UserDB";
|
||||||
$content['LN_CONVERT_STEP2_TEXT'] = 'The database connection has been successfully verified! <br><br>The next step will be to create the necessary database tables for the LogAnalyzer User System. This might take a while! <br><b>WARNING</b>, if you have an existing LogAnalyzer installation in this database with the same tableprefix, all your data will be <b>OVERWRITTEN</b>!<br> Make sure you are using a fresh database, or you want to overwrite your old LogAnalyzer database.<br><br><b>Click on <input type="submit" value="Next"> to start the creation of the tables</b>';
|
$content['LN_CONVERT_TITLETOP'] = "Converting LogAnalyzer configuration settings - Step ";
|
||||||
$content['LN_CONVERT_STEP5_TEXT'] = '<input type="submit" value="Click here"> to start the last step of the conversion. In this step, your existing configuration from the <b>config.php</b> will be imported into the database.';
|
$content['LN_CONVERT_STEP1_TEXT'] = 'This script allows you to import your existing configuration from the <b>config.php</b> file. This includes frontend settings, data sources, custom views and custom searches. Do only perform this conversion if you did install LogAnalyzer without the UserDB System, and decided to enable it now. <br><br><b>ANY EXISTING INSTANCE OF A USERDB WILL BE OVERWRITTEN!</b><br><br><input type="submit" value="Click here"> to start the first conversion step!';
|
||||||
$content['LN_CONVERT_STEP6'] = "Step 8 - Done";
|
$content['LN_CONVERT_STEP2_TEXT'] = 'The database connection has been successfully verified! <br><br>The next step will be to create the necessary database tables for the LogAnalyzer User System. This might take a while! <br><b>WARNING</b>, if you have an existing LogAnalyzer installation in this database with the same tableprefix, all your data will be <b>OVERWRITTEN</b>!<br> Make sure you are using a fresh database, or you want to overwrite your old LogAnalyzer database.<br><br><b>Click on <input type="submit" value="Next"> to start the creation of the tables</b>';
|
||||||
$content['LN_CONVERT_STEP6_TEXT'] = 'Congratulations! You have successfully converted your existing LogAnalyzer installation :)!<br><br>Important! Don\'t forget to REMOVE THE VARIABLES <b>$CFG[\'UserDBConvertAllowed\'] = true;</b> from your config.php file! <br><br>You can click <a href="index.php">here</a> to get to your LogAnalyzerinstallation.';
|
$content['LN_CONVERT_STEP5_TEXT'] = '<input type="submit" value="Click here"> to start the last step of the conversion. In this step, your existing configuration from the <b>config.php</b> will be imported into the database.';
|
||||||
$content['LN_CONVERT_PROCESS'] = "Conversion Progress:";
|
$content['LN_CONVERT_STEP6'] = "Step 8 - Done";
|
||||||
$content['LN_CONVERT_ERROR_SOURCEIMPORT'] = "Critical Error while importing the sources into the database, the SourceType '%1' is not supported by this LogAnalyzer Version.";
|
$content['LN_CONVERT_STEP6_TEXT'] = 'Congratulations! You have successfully converted your existing LogAnalyzer installation :)!<br><br>Important! Don\'t forget to REMOVE THE VARIABLES <b>$CFG[\'UserDBConvertAllowed\'] = true;</b> from your config.php file! <br><br>You can click <a href="index.php">here</a> to get to your LogAnalyzerinstallation.';
|
||||||
|
$content['LN_CONVERT_PROCESS'] = "Conversion Progress:";
|
||||||
// Stats Site
|
$content['LN_CONVERT_ERROR_SOURCEIMPORT'] = "Critical Error while importing the sources into the database, the SourceType '%1' is not supported by this LogAnalyzer Version.";
|
||||||
$content['LN_STATS_CHARTTITLE'] = "Top %1 '%2' sorted by messagecount";
|
|
||||||
$content['LN_STATS_COUNTBY'] = "Messagecount by '%1'";
|
// Stats Site
|
||||||
$content['LN_STATS_OTHERS'] = "All Others";
|
$content['LN_STATS_CHARTTITLE'] = "Top %1 '%2' sorted by messagecount";
|
||||||
$content['LN_STATS_TOPRECORDS'] = "Maxrecords: %1";
|
$content['LN_STATS_COUNTBY'] = "Messagecount by '%1'";
|
||||||
$content['LN_STATS_GENERATEDAT'] = "Generated at: %1";
|
$content['LN_STATS_OTHERS'] = "All Others";
|
||||||
// $content['LN_STATS_COUNTBYSYSLOGTAG'] = "Messagecount by SyslogTag";
|
$content['LN_STATS_TOPRECORDS'] = "Maxrecords: %1";
|
||||||
$content['LN_STATS_GRAPH'] = "Graph";
|
$content['LN_STATS_GENERATEDAT'] = "Generated at: %1";
|
||||||
$content['LN_GEN_ERROR_INVALIDFIELD'] = "Invalid fieldname";
|
// $content['LN_STATS_COUNTBYSYSLOGTAG'] = "Messagecount by SyslogTag";
|
||||||
$content['LN_GEN_ERROR_MISSINGCHARTFIELD'] = "Missing fieldname";
|
$content['LN_STATS_GRAPH'] = "Graph";
|
||||||
$content['LN_GEN_ERROR_INVALIDTYPE'] = "Invalid or unknown chart type.";
|
$content['LN_GEN_ERROR_INVALIDFIELD'] = "Invalid fieldname";
|
||||||
$content['LN_ERROR_CHARTS_NOTCONFIGURED'] = "There are no charts configured at all.";
|
$content['LN_GEN_ERROR_MISSINGCHARTFIELD'] = "Missing fieldname";
|
||||||
$content['LN_CHART_TYPE'] = "Chart type";
|
$content['LN_GEN_ERROR_INVALIDTYPE'] = "Invalid or unknown chart type.";
|
||||||
$content['LN_CHART_WIDTH'] = "Chart width";
|
$content['LN_ERROR_CHARTS_NOTCONFIGURED'] = "There are no charts configured at all.";
|
||||||
$content['LN_CHART_FIELD'] = "Chart field";
|
$content['LN_CHART_TYPE'] = "Chart type";
|
||||||
$content['LN_CHART_MAXRECORDS'] = "Top records count";
|
$content['LN_CHART_WIDTH'] = "Chart width";
|
||||||
$content['LN_CHART_SHOWPERCENT'] = "Show percentage data";
|
$content['LN_CHART_FIELD'] = "Chart field";
|
||||||
$content['LN_CHART_TYPE_CAKE'] = "Cake (Pie)";
|
$content['LN_CHART_MAXRECORDS'] = "Top records count";
|
||||||
$content['LN_CHART_TYPE_BARS_VERTICAL'] = "Bars vertical";
|
$content['LN_CHART_SHOWPERCENT'] = "Show percentage data";
|
||||||
$content['LN_CHART_TYPE_BARS_HORIZONTAL'] = "Bars horizontal";
|
$content['LN_CHART_TYPE_CAKE'] = "Cake (Pie)";
|
||||||
$content['LN_STATS_WARNINGDISPLAY'] = "Generating graphics on large data sources currently is very time consuming. This will be addressed in later versions. If processing takes too long, please simply cancel the request.";
|
$content['LN_CHART_TYPE_BARS_VERTICAL'] = "Bars vertical";
|
||||||
|
$content['LN_CHART_TYPE_BARS_HORIZONTAL'] = "Bars horizontal";
|
||||||
// asktheoracle site
|
$content['LN_STATS_WARNINGDISPLAY'] = "Generating graphics on large data sources currently is very time consuming. This will be addressed in later versions. If processing takes too long, please simply cancel the request.";
|
||||||
$content['LN_ORACLE_TITLE'] = "Asking the oracle for '%1'";
|
|
||||||
$content['LN_ORACLE_HELP_FOR'] = "These are the links the oracle got for you";
|
// asktheoracle site
|
||||||
$content['LN_ORACLE_HELP_TEXT'] = "<br><h3>You asked the oracle to find more information about the '%1' value '%2'.</h3>
|
$content['LN_ORACLE_TITLE'] = "Asking the oracle for '%1'";
|
||||||
<p align=\"left\">This pages enables you do a a search over multiple log sources. %3
|
$content['LN_ORACLE_HELP_FOR'] = "These are the links the oracle got for you";
|
||||||
<br>The overall idea is to make it easy to find information about a specific subject in all places where it may exist.
|
$content['LN_ORACLE_HELP_TEXT'] = "<br><h3>You asked the oracle to find more information about the '%1' value '%2'.</h3>
|
||||||
</p>
|
<p align=\"left\">This pages enables you do a a search over multiple log sources. %3
|
||||||
<p align=\"left\">A useful use case may be a hack attempt you see in a web log. Click on the attacker's IP, which brings up this search page here. Now you can both lookup information about the IP range as well as check your other logs (e.g. firewall or mail) if they contain information about the attacker. We hope that this facilitates your analysis process.
|
<br>The overall idea is to make it easy to find information about a specific subject in all places where it may exist.
|
||||||
</p>
|
</p>
|
||||||
";
|
<p align=\"left\">A useful use case may be a hack attempt you see in a web log. Click on the attacker's IP, which brings up this search page here. Now you can both lookup information about the IP range as well as check your other logs (e.g. firewall or mail) if they contain information about the attacker. We hope that this facilitates your analysis process.
|
||||||
$content['LN_ORACLE_HELP_TEXT_EXTERNAL'] = "It also enables you to perform canned searches over some external databases";
|
</p>
|
||||||
$content['LN_ORACLE_HELP_DETAIL'] = "Link matrix for the '%1' value '%2'";
|
";
|
||||||
$content['LN_ORACLE_SEARCH'] = "Search"; // in '%1' Field";
|
$content['LN_ORACLE_HELP_TEXT_EXTERNAL'] = "It also enables you to perform canned searches over some external databases";
|
||||||
$content['LN_ORACLE_SOURCENAME'] = "Source name";
|
$content['LN_ORACLE_HELP_DETAIL'] = "Link matrix for the '%1' value '%2'";
|
||||||
$content['LN_ORACLE_FIELD'] = "Field";
|
$content['LN_ORACLE_SEARCH'] = "Search"; // in '%1' Field";
|
||||||
$content['LN_ORACLE_ONLINESEARCH'] = "Online Search";
|
$content['LN_ORACLE_SOURCENAME'] = "Source name";
|
||||||
$content['LN_ORACLE_WHOIS'] = "WHOIS Lookup for '%1' value '%2'";
|
$content['LN_ORACLE_FIELD'] = "Field";
|
||||||
|
$content['LN_ORACLE_ONLINESEARCH'] = "Online Search";
|
||||||
// Report Strings
|
$content['LN_ORACLE_WHOIS'] = "WHOIS Lookup for '%1' value '%2'";
|
||||||
$content['LN_GEN_ERROR_INVALIDOP'] = "Invalid or missing operation type";
|
|
||||||
$content['LN_GEN_ERROR_INVALIDREPORTID'] = "Invalid or missing report id";
|
// Report Strings
|
||||||
$content['LN_GEN_ERROR_MISSINGSAVEDREPORTID'] = "Invalid or missing savedreport id";
|
$content['LN_GEN_ERROR_INVALIDOP'] = "Invalid or missing operation type";
|
||||||
$content['LN_GEN_ERROR_REPORTGENFAILED'] = "Failed generating report '%1' with the following error reason: %2";
|
$content['LN_GEN_ERROR_INVALIDREPORTID'] = "Invalid or missing report id";
|
||||||
$content['LN_GEN_ERROR_WHILEREPORTGEN'] = "Error occured while generating report";
|
$content['LN_GEN_ERROR_MISSINGSAVEDREPORTID'] = "Invalid or missing savedreport id";
|
||||||
$content['LN_GEN_ERROR_REPORT_NODATA'] = "No data found for report generation";
|
$content['LN_GEN_ERROR_REPORTGENFAILED'] = "Failed generating report '%1' with the following error reason: %2";
|
||||||
$content['LN_GEN_ALL_OTHER_EVENTS'] = "All other events";
|
$content['LN_GEN_ERROR_WHILEREPORTGEN'] = "Error occured while generating report";
|
||||||
$content['LN_REPORT_FOOTER_ENDERED'] = "Report rendered in";
|
$content['LN_GEN_ERROR_REPORT_NODATA'] = "No data found for report generation";
|
||||||
$content['LN_REPORT_FILTERS'] = "List of used filters";
|
$content['LN_GEN_ALL_OTHER_EVENTS'] = "All other events";
|
||||||
$content['LN_REPORT_FILTERTYPE_DATE'] = "Date";
|
$content['LN_REPORT_FOOTER_ENDERED'] = "Report rendered in";
|
||||||
$content['LN_REPORT_FILTERTYPE_NUMBER'] = "Number";
|
$content['LN_REPORT_FILTERS'] = "List of used filters";
|
||||||
$content['LN_REPORT_FILTERTYPE_STRING'] = "String";
|
$content['LN_REPORT_FILTERTYPE_DATE'] = "Date";
|
||||||
$content['LN_GEN_SUCCESS_WHILEREPORTGEN'] = "Report was successfully generated";
|
$content['LN_REPORT_FILTERTYPE_NUMBER'] = "Number";
|
||||||
$content['LN_GEN_ERROR_REPORTFAILEDTOGENERATE'] = "Failed to generate report, error details: %1";
|
$content['LN_REPORT_FILTERTYPE_STRING'] = "String";
|
||||||
$content['LN_GEN_SUCCESS_REPORTWASGENERATED_DETAILS'] = "Successfully generated report: %1";
|
$content['LN_GEN_SUCCESS_WHILEREPORTGEN'] = "Report was successfully generated";
|
||||||
$content['LN_ERROR_PATH_NOT_ALLOWED'] = "The file is not located in the allowed directories list (By default /var/log is allowed only).";
|
$content['LN_GEN_ERROR_REPORTFAILEDTOGENERATE'] = "Failed to generate report, error details: %1";
|
||||||
$content['LN_ERROR_PATH_NOT_ALLOWED_EXTRA'] = "The file '%1' is not located in one of these directories: '%2'";
|
$content['LN_GEN_SUCCESS_REPORTWASGENERATED_DETAILS'] = "Successfully generated report: %1";
|
||||||
|
$content['LN_ERROR_PATH_NOT_ALLOWED'] = "The file is not located in the allowed directories list (By default /var/log is allowed only).";
|
||||||
$content['LN_CMD_RUNREPORT'] = "Generating saved report '%1'";
|
$content['LN_ERROR_PATH_NOT_ALLOWED_EXTRA'] = "The file '%1' is not located in one of these directories: '%2'";
|
||||||
$content['LN_CMD_REPORTIDNOTFOUND'] = "Invalid Report ID '%1'";
|
|
||||||
$content['LN_CMD_SAVEDREPORTIDNOTFOUND'] = "Invalid SavedReport ID '%1'";
|
$content['LN_CMD_RUNREPORT'] = "Generating saved report '%1'";
|
||||||
$content['LN_CMD_NOREPORTID'] = "Missing Report ID";
|
$content['LN_CMD_REPORTIDNOTFOUND'] = "Invalid Report ID '%1'";
|
||||||
$content['LN_CMD_NOSAVEDREPORTID'] = "Missing SavedReport ID";
|
$content['LN_CMD_SAVEDREPORTIDNOTFOUND'] = "Invalid SavedReport ID '%1'";
|
||||||
$content['LN_CMD_NOCMDPROMPT'] = "Error, this script can only be run from the command prompt.";
|
$content['LN_CMD_NOREPORTID'] = "Missing Report ID";
|
||||||
$content['LN_REPORT_GENERATEDTIME'] = "Report generated at: ";
|
$content['LN_CMD_NOSAVEDREPORTID'] = "Missing SavedReport ID";
|
||||||
|
$content['LN_CMD_NOCMDPROMPT'] = "Error, this script can only be run from the command prompt.";
|
||||||
$content['LN_REPORT_ACTIONS'] = "Run Report Actions";
|
$content['LN_REPORT_GENERATEDTIME'] = "Report generated at: ";
|
||||||
$content['LN_REPORTS_CAT'] = "Report Category";
|
|
||||||
$content['LN_REPORTS_ID'] = "Report ID";
|
$content['LN_REPORT_ACTIONS'] = "Run Report Actions";
|
||||||
$content['LN_REPORTS_NAME'] = "Report Name";
|
$content['LN_REPORTS_CAT'] = "Report Category";
|
||||||
$content['LN_REPORTS_DESCRIPTION'] = "Report Description";
|
$content['LN_REPORTS_ID'] = "Report ID";
|
||||||
$content['LN_REPORTS_HELP'] = "Help";
|
$content['LN_REPORTS_NAME'] = "Report Name";
|
||||||
$content['LN_REPORTS_HELP_CLICK'] = "Click here for a detailed report description";
|
$content['LN_REPORTS_DESCRIPTION'] = "Report Description";
|
||||||
$content['LN_REPORTS_INFO'] = "Show more Information";
|
$content['LN_REPORTS_HELP'] = "Help";
|
||||||
$content['LN_REPORTS_SAVEDREPORTS'] = "Saved reports";
|
$content['LN_REPORTS_HELP_CLICK'] = "Click here for a detailed report description";
|
||||||
$content['LN_REPORTS_ADMIN'] = "Administrate Reports";
|
$content['LN_REPORTS_INFO'] = "Show more Information";
|
||||||
$content['LN_REPORTMENU_LIST'] = "List installed Reports";
|
$content['LN_REPORTS_SAVEDREPORTS'] = "Saved reports";
|
||||||
$content['LN_REPORTMENU_ONLINELIST'] = "All Available Reports";
|
$content['LN_REPORTS_ADMIN'] = "Administrate Reports";
|
||||||
$content['LN_REPORTS_INFORMATION'] = "This page shows a list of installed and available reports including saved report configurations.
|
$content['LN_REPORTMENU_LIST'] = "List installed Reports";
|
||||||
<br/>To run a report, click on the buttons right to the Saved Reports.
|
$content['LN_REPORTMENU_ONLINELIST'] = "All Available Reports";
|
||||||
<br/>Attention! Generating reports can be very time consuming depending on the size of your database.
|
$content['LN_REPORTS_INFORMATION'] = "This page shows a list of installed and available reports including saved report configurations.
|
||||||
";
|
<br/>To run a report, click on the buttons right to the Saved Reports.
|
||||||
$content['LN_REPORTS_CHECKLOGSTREAMSOURCE'] = "Verify Logstream optimization";
|
<br/>Attention! Generating reports can be very time consuming depending on the size of your database.
|
||||||
|
";
|
||||||
|
$content['LN_REPORTS_CHECKLOGSTREAMSOURCE'] = "Verify Logstream optimization";
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
@ -76,13 +76,36 @@
|
|||||||
<B>{FieldCaption}</B>
|
<B>{FieldCaption}</B>
|
||||||
</td>
|
</td>
|
||||||
<td width="100%" align="{FieldAlign}" class="{cssclass}" {fieldbgcolor} valign="top">
|
<td width="100%" align="{FieldAlign}" class="{cssclass}" {fieldbgcolor} valign="top">
|
||||||
<B>
|
|
||||||
</B>
|
|
||||||
{fieldvalue}
|
{fieldvalue}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ENDIF fieldenabled="true" -->
|
<!-- ENDIF fieldenabled="true" -->
|
||||||
<!-- END fields -->
|
<!-- END fields -->
|
||||||
|
<!-- IF dynamicfieldsenabled="true" -->
|
||||||
|
<tr>
|
||||||
|
<td width="200" class="cellmenu1_naked" align="left" nowrap>
|
||||||
|
<B>{LN_DETAIL_DYNAMIC_FIELDS}</B>
|
||||||
|
</td>
|
||||||
|
<td width="100%" align="center" class="line1" valign="top">
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<table border="0" cellpadding="2" cellspacing="1" bgcolor="#DDDDDD" width="600" class="with_border_alternative">
|
||||||
|
<!-- BEGIN dynamicfields -->
|
||||||
|
<tr>
|
||||||
|
<td align="left" class="cellmenu2">
|
||||||
|
{dynfieldkey}
|
||||||
|
</td>
|
||||||
|
<td align="left" class="{dyncssclass}">
|
||||||
|
{dynfieldvalue}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END dynamicfields -->
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- ENDIF dynamicfieldsenabled="true" -->
|
||||||
</table>
|
</table>
|
||||||
<!-- ENDIF messageenabled="true" -->
|
<!-- ENDIF messageenabled="true" -->
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user