com.martealert
Class martealertTopLogInfo

java.lang.Object
  extended bycom.martealert.martealertTable
      extended bycom.martealert.martealertTopStats
          extended bycom.martealert.martealertTopLogInfo
All Implemented Interfaces:
martealertConstants, martealertLevelInterface, martealertRealTimeInterface, martealertTopInterface
Direct Known Subclasses:
martealertTopClassification, martealertTopSensor, martealertTopSeverity

public abstract class martealertTopLogInfo
extends martealertTopStats


Field Summary
 
Fields inherited from class com.martealert.martealertTopStats
limit
 
Fields inherited from class com.martealert.martealertTable
_, ALIASVAR, columnNames, data, DEFAULT, GROUPBY, IDENT, INDEX, INDEXSEARCH, NAMEDVAR, RELATION, SELECT, TX, UNNAMEDVAR, VAR
 
Fields inherited from interface com.martealert.martealertConstants
AMBIGUOUS_FIELDS, ANALYZER, CLASSIFICATION, COMPLETION, FTS, FTSTZ, HOUR_IN_MILLIS, INTERVAL, IPADDRS, LASTJOIN, LTS, LTSTZ, MAXMSGID, MAXSEVERITY, MFTS, MLTS, MSGID, MSOURCEPORT, NALERTS, NOTNULL_FIELDS, NULL_FIELDS, NXCLASSIFICATION, ORDER_BY_ALERTS, ORDER_BY_MAXTIME, ORDER_BY_TIME, PRELUDE_TABLES, PROTOCOL, SENSOR, SEVERITY, SEVERITY_COMPLETION, SOURCE, SOURCEIP, SOURCEPORT, SOURCEUID, TARGET, TARGETIP, TARGETPORT, TARGETPORT_PROTOCOL, TARGETUID, TERMINAL, TIME, TIMETZ, TLAST, TOP, TOTALTIME
 
Fields inherited from interface com.martealert.martealertLevelInterface
FIRST_CLASSIFICATION, FIRST_FTS, FIRST_LTS, FIRST_MAX_LIMIT, FIRST_SENSOR, FIRST_SEVERITY, FIRST_SOURCE_ADDR, FIRST_TARGET_ADDR, FIRST_TERMINAL, SECOND_CLASSIFICATION, SECOND_COMPLETION, SECOND_FTS, SECOND_LTS, SECOND_MAX_LIMIT, SECOND_PROTOCOL, SECOND_SENSOR, SECOND_SEVERITY, SECOND_SOURCE_ADDR, SECOND_SOURCEPORT, SECOND_TARGET_ADDR, SECOND_TARGETPORT, SECOND_TERMINAL, THIRD_CLASSIFICATION, THIRD_COMPLETION, THIRD_MESSAGEID, THIRD_PROTOCOL, THIRD_SENSOR, THIRD_SEVERITY, THIRD_SOURCE_ADDR, THIRD_SOURCEPORT, THIRD_TARGET_ADDR, THIRD_TARGETPORT, THIRD_TERMINAL, THIRD_TIME
 
Fields inherited from interface com.martealert.martealertTopInterface
ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_SECOND, TEN_DAYS, TEN_HOURS, TEN_MINUTES, TEN_SECONDS, TOP_CONNECTION_ALERTS, TOP_CONNECTION_FTS, TOP_CONNECTION_LTS, TOP_CONNECTION_NAME, TOP_CONNECTION_NUMBER, TOP_CONNECTION_PERCENT, TOP_LOGINFO_ALERTS, TOP_LOGINFO_FTS, TOP_LOGINFO_LTS, TOP_LOGINFO_NAME, TOP_LOGINFO_PERCENT, TOP_MAX_NUMBER
 
Fields inherited from interface com.martealert.martealertRealTimeInterface
REAL_TIME_CLASSIFICATION, REAL_TIME_COMPLETION, REAL_TIME_MSGID, REAL_TIME_SEVERITY, REAL_TIME_SOURCEIP, REAL_TIME_TARGETIP, REAL_TIME_TIME
 
Constructor Summary
martealertTopLogInfo()
          Creates a new instance of martealertTopLogInfo
 
Method Summary
 int getAlertColumn()
          Get index position for column in table this with number of alerts.
protected  java.lang.String getDefaultValue()
          Get default value for a top stats table.
abstract  java.lang.String getField()
           
protected  java.lang.String getField(martealertHashFilter hf)
           
protected  int getFTSColumn()
          Get number of FTS column.
protected  int getLTSColumn()
          Get number of LTS column.
 int[] getPercentColumns()
          Get index position for Percent (%) column in table this.
protected  java.lang.String getSqlGroupedBy()
           
protected  java.lang.String getSqlOrderBy()
           
protected  java.lang.String getSqlVars(int total)
           
 
Methods inherited from class com.martealert.martealertTopStats
calcPercent, getCommand, getDefaultValue, getFilter, getIpColumns, getMultilineColumns, getPortColumns, getPrecisionVar, getProtocolColumns, getSqlFilteredTime, getSqlFilteredTime, getSqlTime, getSqlTime, getSqlTotalTime, getStat, getTopVar, getTopVar, getTotalLogs, reload, setLimit
 
Methods inherited from class com.martealert.martealertTable
clear, getColumn, getColumnNames, getColumnSize, getData, getIgnoredColumnsPdf, getRow, getRowSize, getSeverityColumn, getSqlRelation, getTableVector, getValue, getValue, getValue, printTable, setColumnNames, setDataVector, setDataVector, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

martealertTopLogInfo

public martealertTopLogInfo()
Creates a new instance of martealertTopLogInfo

Method Detail

getPercentColumns

public int[] getPercentColumns()
Description copied from class: martealertTopStats
Get index position for Percent (%) column in table this.

Specified by:
getPercentColumns in class martealertTopStats
Returns:
int with %-column index.

getAlertColumn

public int getAlertColumn()
Description copied from class: martealertTopStats
Get index position for column in table this with number of alerts.

Specified by:
getAlertColumn in class martealertTopStats
Returns:
int for column with number of alerts.

getFTSColumn

protected int getFTSColumn()
Description copied from class: martealertTable
Get number of FTS column.

Overrides:
getFTSColumn in class martealertTable
Returns:
Get number of FTS column or -1 if it isn't found.

getLTSColumn

protected int getLTSColumn()
Description copied from class: martealertTable
Get number of LTS column.

Overrides:
getLTSColumn in class martealertTable
Returns:
Get number of LTS column or -1 if it isn't found.

getSqlGroupedBy

protected java.lang.String getSqlGroupedBy()
Specified by:
getSqlGroupedBy in class martealertTopStats

getSqlOrderBy

protected java.lang.String getSqlOrderBy()
Specified by:
getSqlOrderBy in class martealertTopStats

getSqlVars

protected java.lang.String getSqlVars(int total)
Specified by:
getSqlVars in class martealertTopStats

getField

public abstract java.lang.String getField()
Specified by:
getField in class martealertTopStats

getField

protected java.lang.String getField(martealertHashFilter hf)
Specified by:
getField in class martealertTopStats

getDefaultValue

protected java.lang.String getDefaultValue()
Description copied from class: martealertTopStats
Get default value for a top stats table.

Specified by:
getDefaultValue in class martealertTopStats
Returns:
String with content of martealertTable.DEFAULT.get(getField())


e-REdING. Biblioteca de la Escuela Superior de Ingenieros de Sevilla.


DISEÑO DE UNA PLATAFORMA DE GESTIÓN Y MONITORIZACIÓN DE EVENTOS DE SEGURIDAD

: Galera Ruiz, Alejandro David
: Ingeniería Telecomunicación
Contenido del proyecto: